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
This commit is contained in:
Your Name 2021-08-20 11:20:30 -04:00
parent 0ccd6448d6
commit bfd2f800ee

View file

@ -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;