EFI Grub?
This commit is contained in:
parent
bda0c45c1b
commit
0e741a6c1b
1 changed files with 12 additions and 6 deletions
|
@ -9,13 +9,19 @@
|
||||||
../../modules/smartd.nix
|
../../modules/smartd.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.loader.grub.enable = true;
|
boot.loader.efi.canTouchEfiVariables = false;
|
||||||
boot.loader.grub.zfsSupport = true;
|
boot.loader.grub = {
|
||||||
boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
|
enable = true;
|
||||||
boot.loader.grub.devices =
|
efiSupport = true;
|
||||||
[ "/dev/sda" "/dev/sdb" "/dev/sdc" "/dev/sdd" "/dev/sde" "/dev/sdf" ];
|
device = "nodev";
|
||||||
|
mirroredBoots = [{
|
||||||
|
path = "/boot-spare";
|
||||||
|
devices =
|
||||||
|
[ "/dev/disk/by-id/ata-WDC_WD10EFRX-68FYTN0_WD-WCC4J0KJRXHJ-part1" ];
|
||||||
|
}];
|
||||||
|
};
|
||||||
|
|
||||||
boot.supportedFilesystems = [ "vfat" ];
|
boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
|
||||||
|
|
||||||
networking.hostName = "zeus"; # Define your hostname.
|
networking.hostName = "zeus"; # Define your hostname.
|
||||||
networking.hostId = "9e95b576";
|
networking.hostId = "9e95b576";
|
||||||
|
|
Loading…
Reference in a new issue