diff options
author | Freya Murphy <freya@freyacat.org> | 2025-07-26 13:26:33 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2025-07-26 13:26:33 -0400 |
commit | 370ebe026483753cee6c6a993919f98f51af23df (patch) | |
tree | 6ba69c2e9668d345c4f2cc135b5391119ab24c70 | |
parent | Revert "convert assets to JXL" (diff) | |
download | dotfiles-nix-370ebe026483753cee6c6a993919f98f51af23df.tar.gz dotfiles-nix-370ebe026483753cee6c6a993919f98f51af23df.tar.bz2 dotfiles-nix-370ebe026483753cee6c6a993919f98f51af23df.zip |
shinji: switch to grub
-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"]; |