flake/nixos/tpm.nix

10 lines
171 B
Nix
Raw Normal View History

2024-12-03 16:40:01 -05:00
{ user, ... }:
{
security.tpm2 = {
enable = true;
pkcs11.enable = true;
tctiEnvironment.enable = true;
};
users.users.${user}.extraGroups = [ "tss" ];
}