group all boot.loader options

This commit is contained in:
Akulij 2024-09-27 15:02:45 +00:00
parent 701d4b2f8c
commit e27a94900f

View File

@ -3,8 +3,14 @@
./hardware-configuration.nix
./disk-config.nix
];
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.loader = {
efi.canTouchEfiVariables = true;
systemd-boot.enable = true;
# Hide the OS choice for bootloaders.
# It's still possible to open the bootloader list by pressing any key
# It will just not appear on screen unless a key is pressed
timeout = 0;
};
boot = {
plymouth = {
enable = true;
@ -29,10 +35,6 @@
"rd.udev.log_level=3"
"udev.log_priority=3"
];
# Hide the OS choice for bootloaders.
# It's still possible to open the bootloader list by pressing any key
# It will just not appear on screen unless a key is pressed
loader.timeout = 0;
};
services.openssh.enable = true;