TPM on thor
This commit is contained in:
parent
f76f08d57a
commit
6328f14438
2 changed files with 3 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
users.users.bertof = {
|
users.users.bertof = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = [ "network" "networkmanager" "wheel" ];
|
extraGroups = [ "network" "networkmanager" "wheel" "tss" ];
|
||||||
openssh.authorizedKeys.keys = [
|
openssh.authorizedKeys.keys = [
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN+zsSWZFFzQKnATCAvtG+iuSm4qkZHjCtHzGa9B/71W"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN+zsSWZFFzQKnATCAvtG+iuSm4qkZHjCtHzGa9B/71W"
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,7 @@ with lib; {
|
||||||
device = "/dev/nvme0n1p2";
|
device = "/dev/nvme0n1p2";
|
||||||
preLVM = true;
|
preLVM = true;
|
||||||
allowDiscards = true;
|
allowDiscards = true;
|
||||||
|
bypassWorkqueues = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
@ -168,6 +169,7 @@ with lib; {
|
||||||
services.teamviewer.enable = true;
|
services.teamviewer.enable = true;
|
||||||
|
|
||||||
security = {
|
security = {
|
||||||
|
tpm2.enable = true;
|
||||||
rtkit.enable = true;
|
rtkit.enable = true;
|
||||||
pam.services = { autounlock_gnome_keyring.enableGnomeKeyring = true; };
|
pam.services = { autounlock_gnome_keyring.enableGnomeKeyring = true; };
|
||||||
sudo.extraConfig = ''
|
sudo.extraConfig = ''
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue