fix boot loader
This commit is contained in:
parent
26842b27a6
commit
e255632758
2 changed files with 16 additions and 13 deletions
|
|
@ -17,7 +17,7 @@
|
||||||
devices = ["nodev"];
|
devices = ["nodev"];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
kernelParams = [ "ipv6.disable=1" ];
|
kernelParams = lib.mkDefault [ "ipv6.disable=1" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
# system.autoUpgrade = mkDefault {
|
# system.autoUpgrade = mkDefault {
|
||||||
|
|
|
||||||
|
|
@ -10,19 +10,22 @@
|
||||||
|
|
||||||
#boot.loader.efi.canTouchEfiVariables = true;
|
#boot.loader.efi.canTouchEfiVariables = true;
|
||||||
boot.kernelPackages = pkgs.linuxPackages_6_6;
|
boot.kernelPackages = pkgs.linuxPackages_6_6;
|
||||||
boot.kernelParams = lib mkForce [ "nohibernate" "ipv6.disable=1" ];
|
boot.kernelParams = [ "nohibernate" "ipv6.disable=1" ];
|
||||||
boot.loader.grub = lib.mkForce {
|
boot.loader = {
|
||||||
enable = true;
|
grub = {
|
||||||
device = "nodev";
|
enable = true;
|
||||||
zfsSupport = true;
|
device = "nodev";
|
||||||
efiSupport = true;
|
zfsSupport = true;
|
||||||
copyKernels = true;
|
efiSupport = true;
|
||||||
efiInstallAsRemovable = true;
|
copyKernels = true;
|
||||||
mirroredBoots = [
|
efiInstallAsRemovable = true;
|
||||||
{ devices = [ "/dev/disk/by-uuid/E862-56D1" ]; path = "/boot"; }
|
mirroredBoots = [
|
||||||
# { devices = [ "/dev/disk/by-uuid/5DF0-A042" ]; path = "/boot-fallback"; }
|
{ devices = [ "/dev/disk/by-uuid/E862-56D1" ]; path = "/boot"; }
|
||||||
];
|
# { devices = [ "/dev/disk/by-uuid/5DF0-A042" ]; path = "/boot-fallback"; }
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
boot.blacklistedKernelModules = ["nouveau"];
|
boot.blacklistedKernelModules = ["nouveau"];
|
||||||
|
|
||||||
fileSystems."/" =
|
fileSystems."/" =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue