diff options
-rw-r--r-- | hosts/shinji/hardware.nix | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/hosts/shinji/hardware.nix b/hosts/shinji/hardware.nix index 7930240..e199a8d 100644 --- a/hosts/shinji/hardware.nix +++ b/hosts/shinji/hardware.nix @@ -1,9 +1,13 @@ -{...}: { +{config, ...}: { # bootloader - boot.loader.systemd-boot.enable = true; - boot.loader.efi = { - canTouchEfiVariables = true; - efiSysMountPoint = "/boot/efi"; + boot.loader = { + efi.canTouchEfiVariables = true; + grub = { + enable = true; + efiSupport = true; + device = "nodev"; + splashImage = config.theme.wallpaper; + }; }; # kernel modules @@ -35,7 +39,7 @@ }; # boot - fileSystems."/boot/efi" = { + fileSystems."/boot" = { device = "/dev/disk/by-uuid/6F93-6A0B"; fsType = "vfat"; options = ["fmask=0022" "dmask=0022"]; |