feat: enable TPM on alex

This commit is contained in:
Ashhhleyyy 2023-10-08 17:35:48 +01:00
parent 6570e1102f
commit 642a94830d
Signed by: ash
GPG key ID: 83B789081A0878FB
2 changed files with 7 additions and 0 deletions

6
common/tpm.nix Normal file
View file

@ -0,0 +1,6 @@
{ ... }: {
security.tpm2.enable = true;
security.tpm2.pkcs11.enable = true;
security.tpm2.tctiEnvironment.enable = true;
users.users.ash.extraGroups = [ "tss" ];
}

View file

@ -3,6 +3,7 @@
../../common/generic.nix ../../common/generic.nix
../../common/generic-desktop.nix ../../common/generic-desktop.nix
../../common/generic-uefi.nix ../../common/generic-uefi.nix
../../common/tpm.nix
./hardware-config.nix ./hardware-config.nix
]; ];