encrypt ssh private keys with the tpm
This commit is contained in:
parent
0291524082
commit
d5db083507
3 changed files with 16 additions and 0 deletions
9
nixos/tpm.nix
Normal file
9
nixos/tpm.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ user, ... }:
|
||||
{
|
||||
security.tpm2 = {
|
||||
enable = true;
|
||||
pkcs11.enable = true;
|
||||
tctiEnvironment.enable = true;
|
||||
};
|
||||
users.users.${user}.extraGroups = [ "tss" ];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue