9 lines
171 B
Nix
9 lines
171 B
Nix
{ user, ... }:
|
|
{
|
|
security.tpm2 = {
|
|
enable = true;
|
|
pkcs11.enable = true;
|
|
tctiEnvironment.enable = true;
|
|
};
|
|
users.users.${user}.extraGroups = [ "tss" ];
|
|
}
|