This commit is contained in:
mjallen18
2026-01-02 09:47:20 -06:00
parent cdf388cf17
commit 8fc40f265b
3 changed files with 19 additions and 16 deletions

View File

@@ -276,13 +276,13 @@ in
};
system = {
build.installBootLoader = lib.mkOverride 60 (if cfg.bootType == "uefi" then (builder."uefi") else (builder."uboot")); # todo
boot = {
loader = {
id = lib.mkOverride 60 (if cfg.bootType == "uefi" then "raspberrypi-uefi" else "raspberrypi-uboot"); # todo
kernelFile = pkgs.stdenv.hostPlatform.linux-kernel.target;
};
};
#build.installBootLoader = lib.mkOverride 60 (if cfg.bootType == "uefi" then (builder."uefi") else (builder."uboot")); # todo
#boot = {
# loader = {
# id = lib.mkOverride 60 (if cfg.bootType == "uefi" then "raspberrypi-uefi" else "raspberrypi-uboot"); # todo
# kernelFile = pkgs.stdenv.hostPlatform.linux-kernel.target;
# };
#};
# Pi specific system tags
nixos.tags = [
"raspberry-pi-${cfg.variant}"