Grub bootloader instead of systemd-boot
This commit is contained in:
@@ -12,8 +12,19 @@
|
||||
];
|
||||
|
||||
# Bootloader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
boot.loader = {
|
||||
grub = {
|
||||
enable = true;
|
||||
useOSProber = true;
|
||||
efiSupport = true;
|
||||
device = "nodev";
|
||||
gfxmodeEfi = "3440x1440";
|
||||
# font = "${pkgs.ubuntu_font_family}/share/fonts/ubuntu/UbuntuMono-R.ttf";
|
||||
font = "${pkgs.hack-font}/share/fonts/truetype/Hack-Regular.ttf";
|
||||
fontSize = 36;
|
||||
};
|
||||
};
|
||||
|
||||
boot.kernelPackages = pkgs.linuxPackages_6_8;
|
||||
boot.kernelParams = ["amd_pstate=active"];
|
||||
|
||||
Reference in New Issue
Block a user