[disko]Force grub on legacy boot
Some checks failed
Check flake syntax / flake-check (push) Waiting to run
Evaluate Hydra Jobs / eval-hydra-jobs (push) Has been cancelled
Evaluate Hydra Jobs / eval-hydra-jobs (pull_request) Has been cancelled
Check flake syntax / flake-check (pull_request) Has been cancelled

This commit is contained in:
ahtlon
2025-01-19 17:59:29 +01:00
parent 29d6bc02e0
commit a96b8f65c9

View File

@@ -97,7 +97,7 @@ in
}) })
(lib.mkIf (cfg.enable && cfg.legacy) { (lib.mkIf (cfg.enable && cfg.legacy) {
boot.loader.grub = { boot.loader.grub = {
enable = true; enable = lib.mkForce true;
device = "/dev/${cfg.root.disk0}-part1"; device = "/dev/${cfg.root.disk0}-part1";
efiSupport = false; efiSupport = false;
enableCryptodisk = cfg.encryption; enableCryptodisk = cfg.encryption;