From c95d3419a2333843b60aa3106e1cd6d253d8d0e4 Mon Sep 17 00:00:00 2001 From: Drew Haven Date: Thu, 27 Mar 2025 16:24:46 -0700 Subject: [PATCH] [drew-desktop] Move bootloader to the hardware configuration --- system/hosts/drew-desktop/configuration.nix | 4 ---- system/hosts/drew-desktop/hardware-configuration.nix | 3 +++ 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/system/hosts/drew-desktop/configuration.nix b/system/hosts/drew-desktop/configuration.nix index 8a31c91..5ebb3c6 100644 --- a/system/hosts/drew-desktop/configuration.nix +++ b/system/hosts/drew-desktop/configuration.nix @@ -9,10 +9,6 @@ }: { - # Bootloader. - boot.loader.systemd-boot.enable = true; - boot.loader.efi.canTouchEfiVariables = true; - networking.hostName = "drew-desktop"; # Define your hostname. # Configure network proxy if necessary diff --git a/system/hosts/drew-desktop/hardware-configuration.nix b/system/hosts/drew-desktop/hardware-configuration.nix index dae24b3..c76d06d 100644 --- a/system/hosts/drew-desktop/hardware-configuration.nix +++ b/system/hosts/drew-desktop/hardware-configuration.nix @@ -12,6 +12,9 @@ imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; + # Bootloader. + boot.loader.systemd-boot.enable = true; + boot.loader.efi.canTouchEfiVariables = true; boot.initrd.availableKernelModules = [ "xhci_pci"