TPM on thor

This commit is contained in:
Filippo Berto 2022-10-06 19:18:59 +02:00
parent f76f08d57a
commit 6328f14438
Signed by: bertof
GPG key ID: 9DBF7E6A1D2CE9ED
2 changed files with 3 additions and 1 deletions

View file

@ -1,7 +1,7 @@
{
users.users.bertof = {
isNormalUser = true;
extraGroups = [ "network" "networkmanager" "wheel" ];
extraGroups = [ "network" "networkmanager" "wheel" "tss" ];
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN+zsSWZFFzQKnATCAvtG+iuSm4qkZHjCtHzGa9B/71W"
];

View file

@ -15,6 +15,7 @@ with lib; {
device = "/dev/nvme0n1p2";
preLVM = true;
allowDiscards = true;
bypassWorkqueues = true;
};
};
};
@ -168,6 +169,7 @@ with lib; {
services.teamviewer.enable = true;
security = {
tpm2.enable = true;
rtkit.enable = true;
pam.services = { autounlock_gnome_keyring.enableGnomeKeyring = true; };
sudo.extraConfig = ''