mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-21 04:42:07 +03:00
amazon-image.nix: Don't put any old configurations in the GRUB menu
This commit is contained in:
parent
557f39aa0f
commit
16da4a14f1
@ -139,6 +139,10 @@ with pkgs.lib;
|
|||||||
cp ${pkgs.utillinux}/sbin/swapon $out/bin
|
cp ${pkgs.utillinux}/sbin/swapon $out/bin
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# Don't put old configurations in the GRUB menu. The user has no
|
||||||
|
# way to select them anyway.
|
||||||
|
boot.loader.grub.configurationLimit = 0;
|
||||||
|
|
||||||
# Allow root logins only using the SSH key that the user specified
|
# Allow root logins only using the SSH key that the user specified
|
||||||
# at instance creation time.
|
# at instance creation time.
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user