From bfd2f800ee353a9f59360f56d647818eaef9f6b4 Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 20 Aug 2021 11:20:30 -0400 Subject: NixOS AMI: Give grub a 1s timeout now that AWS has emergency console access. See: * https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enhanced-networking-os.html * https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/grub.html --- 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 ad105b96332..6bdc661d996 100644 --- a/nixos/modules/virtualisation/amazon-image.nix +++ b/nixos/modules/virtualisation/amazon-image.nix @@ -63,7 +63,7 @@ in boot.loader.grub.extraPerEntryConfig = mkIf (!cfg.hvm) "root (hd0)"; boot.loader.grub.efiSupport = cfg.efi; boot.loader.grub.efiInstallAsRemovable = cfg.efi; - boot.loader.timeout = 0; + boot.loader.timeout = 1; boot.initrd.network.enable = true; -- cgit 1.4.1