diff options
author | obadz <obadz-git@obadz.com> | 2016-09-13 18:46:53 +0100 |
---|---|---|
committer | obadz <obadz-git@obadz.com> | 2016-09-16 18:02:36 +0100 |
commit | 1c9ac8aabc3105b14c762459bd14a5d53f691449 (patch) | |
tree | 6880846ad9e890add5386d2aea5ee43e1c1cb339 /nixos/modules/installer/tools/nixos-generate-config.pl | |
parent | a0b643ed06e956080c6acc91b4c209a195b8a18a (diff) | |
download | nixpkgs-1c9ac8aabc3105b14c762459bd14a5d53f691449.tar nixpkgs-1c9ac8aabc3105b14c762459bd14a5d53f691449.tar.gz nixpkgs-1c9ac8aabc3105b14c762459bd14a5d53f691449.tar.bz2 nixpkgs-1c9ac8aabc3105b14c762459bd14a5d53f691449.tar.lz nixpkgs-1c9ac8aabc3105b14c762459bd14a5d53f691449.tar.xz nixpkgs-1c9ac8aabc3105b14c762459bd14a5d53f691449.tar.zst nixpkgs-1c9ac8aabc3105b14c762459bd14a5d53f691449.zip |
grub: add boot.loader.grub.efiInstallAsRemovable
Closes #16374
Diffstat (limited to 'nixos/modules/installer/tools/nixos-generate-config.pl')
-rw-r--r-- | nixos/modules/installer/tools/nixos-generate-config.pl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/nixos/modules/installer/tools/nixos-generate-config.pl b/nixos/modules/installer/tools/nixos-generate-config.pl index 5e576367eb2..f1874f23977 100644 --- a/nixos/modules/installer/tools/nixos-generate-config.pl +++ b/nixos/modules/installer/tools/nixos-generate-config.pl @@ -527,8 +527,11 @@ EOF # Use the GRUB 2 boot loader. boot.loader.grub.enable = true; boot.loader.grub.version = 2; + # boot.loader.grub.efiSupport = true; + # boot.loader.grub.efiInstallAsRemovable = true; + # boot.loader.efi.efiSysMountPoint = "/boot/efi"; # Define on which hard drive you want to install Grub. - # boot.loader.grub.device = "/dev/sda"; + # boot.loader.grub.device = "/dev/sda"; # or "nodev" for efi only EOF } |