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.
|
# Bootloader.
|
||||||
boot.loader = {
|
boot.loader = {
|
||||||
efi.canTouchEfiVariables = true;
|
efi.canTouchEfiVariables = true;
|
||||||
grub = {
|
systemd-boot = {
|
||||||
enable = true;
|
enable = true;
|
||||||
devices = [ "nodev" ];
|
consoleMode = "auto";
|
||||||
efiSupport = true;
|
extraEntries = {
|
||||||
useOSProber = true;
|
"Arch.conf" = ''
|
||||||
fontSize = 30;
|
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";
|
device = "/dev/disk/by-uuid/C8F1-789F";
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
options = [ "fmask=0022" "dmask=0022" ];
|
options = [ "fmask=0077" "dmask=0077" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
swapDevices = [
|
swapDevices = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue