mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
Set boot.loader.grub.configurationLimit to 1 for gce/azure/amazon images. Setting to 0 results in empty grub config.
This commit is contained in:
parent
5273166f53
commit
fd1fb0403c
3 changed files with 3 additions and 3 deletions
|
@ -170,7 +170,7 @@ in
|
|||
|
||||
# Don't put old configurations in the GRUB menu. The user has no
|
||||
# way to select them anyway.
|
||||
boot.loader.grub.configurationLimit = 0;
|
||||
boot.loader.grub.configurationLimit = 1;
|
||||
|
||||
# Allow root logins only using the SSH key that the user specified
|
||||
# at instance creation time.
|
||||
|
|
|
@ -14,7 +14,7 @@ with lib;
|
|||
|
||||
# Don't put old configurations in the GRUB menu. The user has no
|
||||
# way to select them anyway.
|
||||
boot.loader.grub.configurationLimit = 0;
|
||||
boot.loader.grub.configurationLimit = 1;
|
||||
|
||||
fileSystems."/".device = "/dev/disk/by-label/nixos";
|
||||
|
||||
|
|
|
@ -106,7 +106,7 @@ in
|
|||
|
||||
# Don't put old configurations in the GRUB menu. The user has no
|
||||
# way to select them anyway.
|
||||
boot.loader.grub.configurationLimit = 0;
|
||||
boot.loader.grub.configurationLimit = 1;
|
||||
|
||||
# Allow root logins only using the SSH key that the user specified
|
||||
# at instance creation time.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue