mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
disable tpm-crb on riscv64
This commit is contained in:
parent
e1fc5098c0
commit
86d5b67260
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user