nixos/boot/rasbperrypi: add support for boot.initrd.secret with uboot (#240358)

Co-authored-by: digital <didev@dinid.net>
This commit is contained in:
digital
2023-09-23 14:32:09 +02:00
committed by GitHub
parent 8bd11cde4d
commit 94e939985b
4 changed files with 35 additions and 3 deletions

View File

@@ -142,6 +142,7 @@ in
assertion = !pkgs.stdenv.hostPlatform.isAarch64 || cfg.version >= 3;
message = "Only Raspberry Pi >= 3 supports aarch64.";
};
boot.loader.supportsInitrdSecrets = cfg.uboot.enable;
system.build.installBootLoader = builder;
system.boot.loader.id = "raspberrypi";