disable tpm-crb on riscv64
This commit is contained in:
parent
e1fc5098c0
commit
86d5b67260
@ -343,9 +343,11 @@ in {
|
|||||||
system.build = { inherit initialRamdisk; };
|
system.build = { inherit initialRamdisk; };
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [
|
boot.initrd.availableKernelModules = [
|
||||||
"autofs4" # systemd needs this for some features
|
# systemd needs this for some features
|
||||||
"tpm-tis" "tpm-crb" # systemd-cryptenroll
|
"autofs4"
|
||||||
];
|
# systemd-cryptenroll
|
||||||
|
"tpm-tis"
|
||||||
|
] ++ lib.optional (pkgs.stdenv.hostPlatform.system != "riscv64-linux") "tpm-crb";
|
||||||
|
|
||||||
boot.initrd.systemd = {
|
boot.initrd.systemd = {
|
||||||
initrdBin = [pkgs.bash pkgs.coreutils cfg.package.kmod cfg.package] ++ config.system.fsPackages;
|
initrdBin = [pkgs.bash pkgs.coreutils cfg.package.kmod cfg.package] ++ config.system.fsPackages;
|
||||||
|
Loading…
Reference in New Issue
Block a user