Enable the tpm module on boot

This commit is contained in:
Charlotte 🦝 Delenk 2022-04-20 16:15:59 +01:00
parent 9a9c67a3c7
commit 56f093183f
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -284,6 +284,8 @@ in
message = "boot.initrd.luks.devices.<name>.bypassWorkqueues is not supported for kernels older than 5.9";
}];
boot.initrd.kernelModules = [ "tpm" ];
# actually, sbp2 driver is the one enabling the DMA attack, but this needs to be tested
boot.blacklistedKernelModules = optionals luks.mitigateDMAAttacks
[ "firewire_ohci" "firewire_core" "firewire_sbp2" ];