Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Set boot.loader.grub.configurationLimit to 1 for gce/azure/amazon images. Setting to 0 results in empty grub config.

+3 -3
+1 -1
nixos/modules/virtualisation/amazon-image.nix
··· 170 170 171 171 # Don't put old configurations in the GRUB menu. The user has no 172 172 # way to select them anyway. 173 - boot.loader.grub.configurationLimit = 0; 173 + boot.loader.grub.configurationLimit = 1; 174 174 175 175 # Allow root logins only using the SSH key that the user specified 176 176 # at instance creation time.
+1 -1
nixos/modules/virtualisation/azure-common.nix
··· 14 14 15 15 # Don't put old configurations in the GRUB menu. The user has no 16 16 # way to select them anyway. 17 - boot.loader.grub.configurationLimit = 0; 17 + boot.loader.grub.configurationLimit = 1; 18 18 19 19 fileSystems."/".device = "/dev/disk/by-label/nixos"; 20 20
+1 -1
nixos/modules/virtualisation/google-compute-image.nix
··· 106 106 107 107 # Don't put old configurations in the GRUB menu. The user has no 108 108 # way to select them anyway. 109 - boot.loader.grub.configurationLimit = 0; 109 + boot.loader.grub.configurationLimit = 1; 110 110 111 111 # Allow root logins only using the SSH key that the user specified 112 112 # at instance creation time.