Add legacy boot option to disko module #56

Open
ahtlon wants to merge 7 commits from issue31 into master
Showing only changes of commit a96b8f65c9 - Show all commits

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;