mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 21:10:08 +00:00
iso-image: ensure boot.loader.grub.enable is disabled by default
We use `mkImageMediaOverride` to ensure that GRUB is actually disabled if a user enables it using the default priority but still allows them to enable it using `mkForce`.
This commit is contained in:
@@ -865,7 +865,7 @@ in
|
||||
|
||||
# Don't build the GRUB menu builder script, since we don't need it
|
||||
# here and it causes a cyclic dependency.
|
||||
boot.loader.grub.enable = false;
|
||||
boot.loader.grub.enable = lib.mkImageMediaOverride false;
|
||||
|
||||
environment.systemPackages = [
|
||||
grubPkgs.grub2
|
||||
|
||||
Reference in New Issue
Block a user