diff options
| author | Fuwn <[email protected]> | 2024-09-03 01:52:03 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-09-03 01:52:03 -0700 |
| commit | c6deea451af1af2fdf4aee7f1ed74209f312a9b3 (patch) | |
| tree | d725ce5a39939b1379f2a4141cd0ab54c1ef16cc /modules/security/tpm.nix | |
| parent | home (diff) | |
| download | nixos-config-c6deea451af1af2fdf4aee7f1ed74209f312a9b3.tar.xz nixos-config-c6deea451af1af2fdf4aee7f1ed74209f312a9b3.zip | |
modules
Diffstat (limited to 'modules/security/tpm.nix')
| -rw-r--r-- | modules/security/tpm.nix | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/modules/security/tpm.nix b/modules/security/tpm.nix new file mode 100644 index 0000000..3277d9f --- /dev/null +++ b/modules/security/tpm.nix @@ -0,0 +1,16 @@ +{ pkgs, ... }: +{ + security.tpm2 = { + enable = true; + applyUdevRules = true; + abrmd.enable = true; + tctiEnvironment.enable = true; + pkcs11.enable = true; + }; + + environment.systemPackages = with pkgs; [ + tpm2-tools + tpm2-tss + tpm2-abrmd + ]; +} |