Grub bootloader instead of systemd-boot

This commit is contained in:
2024-08-03 15:06:35 +03:00
parent d2810e4708
commit b292094fa5

View File

@@ -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"];