nixos-config/common/hardware/tpm2.nix

8 lines
215 B
Nix
Raw Permalink Normal View History

2024-04-22 21:24:54 +02:00
{
2024-04-23 16:19:33 +02:00
security.tpm2 = {
enable = true;
pkcs11.enable = true; # expose /run/current-system/sw/lib/libtpm2_pkcs11.so
tctiEnvironment.enable = true; # TPM2TOOLS_TCTI and TPM2_PKCS11_TCTI env variables
};
2024-04-22 21:24:54 +02:00
}