ma hw: add tpm to x2x0
This commit is contained in:
parent
8caeb60777
commit
5898caa146
@ -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>
|
||||
|
@ -2,6 +2,9 @@
|
||||
|
||||
with import <stockholm/lib>;
|
||||
{
|
||||
imports = [
|
||||
./tpm.nix
|
||||
];
|
||||
networking.wireless.enable = lib.mkDefault true;
|
||||
|
||||
hardware.enableAllFirmware = true;
|
||||
|
6
makefu/2configs/hw/tpm.nix
Normal file
6
makefu/2configs/hw/tpm.nix
Normal 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 ];
|
||||
}
|
Loading…
Reference in New Issue
Block a user