From fd1fb0403c406d1c3aca07735bb247e0643bdb0d Mon Sep 17 00:00:00 2001 From: Rob Vermaas Date: Fri, 29 May 2015 19:36:16 +0000 Subject: Set boot.loader.grub.configurationLimit to 1 for gce/azure/amazon images. Setting to 0 results in empty grub config. --- nixos/modules/virtualisation/amazon-image.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos/modules/virtualisation/amazon-image.nix') diff --git a/nixos/modules/virtualisation/amazon-image.nix b/nixos/modules/virtualisation/amazon-image.nix index 600a29f31bc..dc92e4f609f 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 = 0; + boot.loader.grub.configurationLimit = 1; # Allow root logins only using the SSH key that the user specified # at instance creation time. -- cgit 1.4.1