From b32342219cff01bd490a7384a7af7cb568b1c554 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Mon, 5 May 2025 22:27:58 +0200 Subject: [PATCH] hosts/xps16: collect bootloader config in one place --- hosts/xps16/configuration.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/hosts/xps16/configuration.nix b/hosts/xps16/configuration.nix index a0d96e1..6f6d2b3 100644 --- a/hosts/xps16/configuration.nix +++ b/hosts/xps16/configuration.nix @@ -24,8 +24,11 @@ system.stateVersion = "24.11"; - boot.loader.systemd-boot.enable = true; - boot.loader.efi.canTouchEfiVariables = true; + boot.loader = { + efi.canTouchEfiVariables = true; + systemd-boot.enable = true; + systemd-boot.consoleMode = "1"; + }; boot.binfmt.emulatedSystems = [ "x86_64-windows" @@ -53,8 +56,6 @@ packages = with pkgs; [ terminus_font ]; }; - boot.loader.systemd-boot.consoleMode = "1"; - machineVars = { headless = false; gaming = true;