ma hw: add tpm to x2x0

This commit is contained in:
makefu 2017-09-04 14:35:56 +02:00 committed by lassulus
parent 9646fa5cf7
commit 3e429bdead
3 changed files with 10 additions and 1 deletions

View File

@ -20,6 +20,7 @@ with import <stockholm/lib>;
# Testing
# <stockholm/makefu/2configs/deployment/gitlab.nix>
# <stockholm/makefu/2configs/deployment/wiki-irc-bot>
# <stockholm/makefu/2configs/torrent.nix>
# <stockholm/makefu/2configs/lanparty/lancache.nix>
@ -33,7 +34,6 @@ with import <stockholm/lib>;
<stockholm/makefu/2configs/tinc/retiolum.nix>
# applications
<stockholm/makefu/2configs/tpm.nix>
<stockholm/makefu/2configs/exim-retiolum.nix>
<stockholm/makefu/2configs/mail-client.nix>
<stockholm/makefu/2configs/printer.nix>

View File

@ -2,6 +2,9 @@
with import <stockholm/lib>;
{
imports = [
./tpm.nix
];
networking.wireless.enable = lib.mkDefault true;
hardware.enableAllFirmware = true;

View File

@ -0,0 +1,6 @@
{ pkgs, ... }:
{
services.tcsd.enable = true;
# see https://wiki.archlinux.org/index.php/Trusted_Platform_Module
environment.systemPackages = with pkgs; [ opencryptoki tpm-tools ];
}