switch to systemd-boot
This commit is contained in:
parent
3281b066a9
commit
6775ea533c
2 changed files with 12 additions and 6 deletions
|
|
@ -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
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
{
|
||||
device = "/dev/disk/by-uuid/C8F1-789F";
|
||||
fsType = "vfat";
|
||||
options = [ "fmask=0022" "dmask=0022" ];
|
||||
options = [ "fmask=0077" "dmask=0077" ];
|
||||
};
|
||||
|
||||
swapDevices = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue