This commit is contained in:
mjallen18
2026-01-02 11:05:48 -06:00
parent 8fc40f265b
commit 1d5b1cf5e0
5 changed files with 67 additions and 19 deletions

View File

@@ -186,6 +186,11 @@ in
useGenerationDeviceTree = lib.mkOverride 60 (if cfg.bootType == "uefi" then false else true);
};
systemd-boot.enable = (if cfg.bootType == "uefi" then true else false);
systemd-boot.extraInstallCommands = let
bootloaderInstaller = (if cfg.bootType == "uefi" then (builder."uefi") else (builder."uboot")); # todo
in ''
${bootloaderInstaller} -f /boot/firmware -b /boot -c
'';
grub.enable = lib.mkForce false;
};
};