From e6ac4b35ffd563855bb27978790126c3a552c493 Mon Sep 17 00:00:00 2001 From: Zynh Ludwig Date: Wed, 16 Oct 2024 11:28:15 -0700 Subject: [PATCH] snowhawk: initrd on root --- hosts/snowhawk/hardware-configuration.nix | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/hosts/snowhawk/hardware-configuration.nix b/hosts/snowhawk/hardware-configuration.nix index f72d4bc..6e2a7bc 100644 --- a/hosts/snowhawk/hardware-configuration.nix +++ b/hosts/snowhawk/hardware-configuration.nix @@ -129,14 +129,19 @@ in swapDevices = [ ]; # Bootloader. - boot.loader.grub = { - enable = true; - efiSupport = true; - useOSProber = true; - device = "nodev"; - theme = pkgs.rose-pine-grub; + boot.loader = { + grub = { + enable = true; + efiSupport = true; + useOSProber = true; + device = "nodev"; + theme = pkgs.rose-pine-grub; + }; + efi = { + canTouchEfiVariables = true; + efiSysMountPoint = "/efi"; + }; }; - boot.loader.efi.canTouchEfiVariables = true; # Enable networking networking.networkmanager.enable = true;