disable tpm-crb on riscv64

This commit is contained in:
Jörg Thalheim 2023-01-02 12:47:27 +01:00
parent e1fc5098c0
commit 86d5b67260

View File

@ -343,9 +343,11 @@ in {
system.build = { inherit initialRamdisk; };
boot.initrd.availableKernelModules = [
"autofs4" # systemd needs this for some features
"tpm-tis" "tpm-crb" # systemd-cryptenroll
];
# systemd needs this for some features
"autofs4"
# systemd-cryptenroll
"tpm-tis"
] ++ lib.optional (pkgs.stdenv.hostPlatform.system != "riscv64-linux") "tpm-crb";
boot.initrd.systemd = {
initrdBin = [pkgs.bash pkgs.coreutils cfg.package.kmod cfg.package] ++ config.system.fsPackages;