From 6775ea533c9ad8e7aef7e809f989e86e47dc09cd Mon Sep 17 00:00:00 2001 From: CDaut Date: Wed, 24 Sep 2025 00:03:11 +0200 Subject: [PATCH] switch to systemd-boot --- configuration.nix | 16 +++++++++++----- hardware_configuration.nix | 2 +- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/configuration.nix b/configuration.nix index 5344ca8..77610e1 100644 --- a/configuration.nix +++ b/configuration.nix @@ -11,12 +11,18 @@ # Bootloader. boot.loader = { efi.canTouchEfiVariables = true; - grub = { + systemd-boot = { enable = true; - devices = [ "nodev" ]; - efiSupport = true; - useOSProber = true; - fontSize = 30; + consoleMode = "auto"; + extraEntries = { + "Arch.conf" = '' + title Arch Linux (gaming) + sort-key arch + linux /vmlinuz-linux + initrd /initramfs-linux.img + options cryptdevice=PARTUUID=6fa1b92d-1667-420a-a0e6-8f3116759115:root root=/dev/mapper/root zswap.enabled=0 rw rootfstype=btrfs amdgpu module_blacklist=nvidia + ''; + }; }; }; diff --git a/hardware_configuration.nix b/hardware_configuration.nix index aa7616b..76a8ffb 100644 --- a/hardware_configuration.nix +++ b/hardware_configuration.nix @@ -29,7 +29,7 @@ { device = "/dev/disk/by-uuid/C8F1-789F"; fsType = "vfat"; - options = [ "fmask=0022" "dmask=0022" ]; + options = [ "fmask=0077" "dmask=0077" ]; }; swapDevices = [