fix boot loader
This commit is contained in:
parent
26842b27a6
commit
e255632758
2 changed files with 16 additions and 13 deletions
|
|
@ -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."/" =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue