fix boot loader

This commit is contained in:
NyxErinys 2026-05-19 20:18:49 -05:00
parent 26842b27a6
commit e255632758
2 changed files with 16 additions and 13 deletions

View file

@ -10,19 +10,22 @@
#boot.loader.efi.canTouchEfiVariables = true;
boot.kernelPackages = pkgs.linuxPackages_6_6;
boot.kernelParams = lib mkForce [ "nohibernate" "ipv6.disable=1" ];
boot.loader.grub = lib.mkForce {
enable = true;
device = "nodev";
zfsSupport = true;
efiSupport = true;
copyKernels = true;
efiInstallAsRemovable = true;
mirroredBoots = [
{ devices = [ "/dev/disk/by-uuid/E862-56D1" ]; path = "/boot"; }
# { devices = [ "/dev/disk/by-uuid/5DF0-A042" ]; path = "/boot-fallback"; }
];
boot.kernelParams = [ "nohibernate" "ipv6.disable=1" ];
boot.loader = {
grub = {
enable = true;
device = "nodev";
zfsSupport = true;
efiSupport = true;
copyKernels = true;
efiInstallAsRemovable = true;
mirroredBoots = [
{ devices = [ "/dev/disk/by-uuid/E862-56D1" ]; path = "/boot"; }
# { devices = [ "/dev/disk/by-uuid/5DF0-A042" ]; path = "/boot-fallback"; }
];
};
};
boot.blacklistedKernelModules = ["nouveau"];
fileSystems."/" =