Fix bootloader configurations

This commit is contained in:
Pedro Rey Anca 2024-07-09 00:24:39 +02:00
parent e306d6a8e6
commit 73a9b4d16c
3 changed files with 11 additions and 5 deletions

View file

@ -1,14 +1,15 @@
{pkgs, ...}: {
{
pkgs,
lib,
...
}: {
boot.loader = {
efi = {
canTouchEfiVariables = true;
efiSysMountPoint = "/boot/efi";
};
grub = {
efiSupport = true;
device = "nodev";
useOSProber = true;
};
efi.canTouchEfiVariables = lib.mkDefault true;
};
boot.kernelPackages = pkgs.linuxPackages_latest;
}