From e27a94900fa993189b70f4f807bb337ffb97be1c Mon Sep 17 00:00:00 2001 From: Akulij Date: Fri, 27 Sep 2024 15:02:45 +0000 Subject: [PATCH] group all boot.loader options --- configuration.nix | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/configuration.nix b/configuration.nix index f07c53b..5de3191 100644 --- a/configuration.nix +++ b/configuration.nix @@ -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;