From bab47dd25b6aa209591095c76cd9903e6f29ff4f Mon Sep 17 00:00:00 2001 From: Antoine Viallon Date: Thu, 10 Aug 2023 16:41:18 +0200 Subject: [PATCH] [Security/TPM] add tpm_tis + tpm_crb to initrd --- security/tpm.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/security/tpm.nix b/security/tpm.nix index 5cabf34..1b9c77c 100644 --- a/security/tpm.nix +++ b/security/tpm.nix @@ -21,5 +21,9 @@ in { services.tcsd = mkIf cfg.tpm1_2.enable { enable = true; }; + + boot.initrd.availableKernelModules = [ + "tpm_tis" "tpm_crb" + ]; }; }