summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-07-26 13:26:33 -0400
committerFreya Murphy <freya@freyacat.org>2025-07-26 13:26:33 -0400
commit370ebe026483753cee6c6a993919f98f51af23df (patch)
tree6ba69c2e9668d345c4f2cc135b5391119ab24c70
parentRevert "convert assets to JXL" (diff)
downloaddotfiles-nix-370ebe026483753cee6c6a993919f98f51af23df.tar.gz
dotfiles-nix-370ebe026483753cee6c6a993919f98f51af23df.tar.bz2
dotfiles-nix-370ebe026483753cee6c6a993919f98f51af23df.zip
shinji: switch to grub
-rw-r--r--hosts/shinji/hardware.nix16
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"];