Merge pull request #212268 from Mic92/tpm-crb-riscv64

disable tpm-crb on riscv64
This commit is contained in:
Jörg Thalheim 2023-01-24 22:05:45 +00:00 committed by GitHub
commit 9ccde6dcca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;