flake/nixos/tpm.nix

9 lines
171 B
Nix

{ user, ... }:
{
security.tpm2 = {
enable = true;
pkcs11.enable = true;
tctiEnvironment.enable = true;
};
users.users.${user}.extraGroups = [ "tss" ];
}