summary refs log tree commit diff
path: root/nixos/modules/virtualisation/amazon-image.nix
diff options
context:
space:
mode:
authorWilliam A. Kennington III <william@wkennington.com>2015-05-29 13:26:51 -0700
committerWilliam A. Kennington III <william@wkennington.com>2015-05-29 13:26:51 -0700
commitaa5d6922c559d15ec8a17eccb23c0f5a27160946 (patch)
treea0cfb2229317a79ed9f44cdb0d4371c42d369cb3 /nixos/modules/virtualisation/amazon-image.nix
parent1e98da6d992522ae26bc37bb670b09805f44b762 (diff)
downloadnixpkgs-aa5d6922c559d15ec8a17eccb23c0f5a27160946.tar
nixpkgs-aa5d6922c559d15ec8a17eccb23c0f5a27160946.tar.gz
nixpkgs-aa5d6922c559d15ec8a17eccb23c0f5a27160946.tar.bz2
nixpkgs-aa5d6922c559d15ec8a17eccb23c0f5a27160946.tar.lz
nixpkgs-aa5d6922c559d15ec8a17eccb23c0f5a27160946.tar.xz
nixpkgs-aa5d6922c559d15ec8a17eccb23c0f5a27160946.tar.zst
nixpkgs-aa5d6922c559d15ec8a17eccb23c0f5a27160946.zip
Revert "Set boot.loader.grub.configurationLimit to 1 for gce/azure/amazon images. Setting to 0 results in empty grub config."
The issue was that grub was not building the default entry which would
leave systems unbootable. This can now be safely reverted as the default
entry is being built once again.

This reverts commit fd1fb0403c406d1c3aca07735bb247e0643bdb0d.
Diffstat (limited to 'nixos/modules/virtualisation/amazon-image.nix')
-rw-r--r--nixos/modules/virtualisation/amazon-image.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/virtualisation/amazon-image.nix b/nixos/modules/virtualisation/amazon-image.nix
index dc92e4f609f..600a29f31bc 100644
--- a/nixos/modules/virtualisation/amazon-image.nix
+++ b/nixos/modules/virtualisation/amazon-image.nix
@@ -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 = 1;
+    boot.loader.grub.configurationLimit = 0;
 
     # Allow root logins only using the SSH key that the user specified
     # at instance creation time.