diff --git a/modules/system/default.nix b/modules/system/default.nix index 0bd88e0..2956e49 100644 --- a/modules/system/default.nix +++ b/modules/system/default.nix @@ -1,7 +1,7 @@ {...}: { imports = [ - ../../system/amd.nix ../../system/boot.nix + ../../system/amd.nix ../../system/hardware.nix ../../system/home-manager.nix ../../system/services.nix diff --git a/system/boot.nix b/system/boot.nix index 1d9c8da..2571d3d 100644 --- a/system/boot.nix +++ b/system/boot.nix @@ -4,14 +4,20 @@ systemd-boot = { enable = true; }; + + efi = { + canTouchEfiVariables = true; + efiSysMountPoint = "/boot"; + }; + + grub = { + enable = false; + device = "nodev"; + }; }; + initrd = { systemd.enable = true; }; - efi = { - canTouchEfiVariables = true; - efiSysMountPoint = "/boot"; - }; - grub.enable = false; }; }