switch to systemd-boot

This commit is contained in:
CDaut 2025-09-24 00:03:11 +02:00
parent 3281b066a9
commit 6775ea533c
Signed by: clara
GPG key ID: 223391B52FAD4463
2 changed files with 12 additions and 6 deletions

View file

@ -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
'';
};
};
};

View file

@ -29,7 +29,7 @@
{
device = "/dev/disk/by-uuid/C8F1-789F";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
options = [ "fmask=0077" "dmask=0077" ];
};
swapDevices = [