15 lines
404 B
Nix
15 lines
404 B
Nix
|
{ config, pkgs, ... }:
|
||
|
|
||
|
{
|
||
|
boot.loader.grub.enable = true;
|
||
|
boot.loader.grub.version = 2;
|
||
|
boot.loader.grub.device = "/dev/sda";
|
||
|
boot.zfs.devNodes = "/dev"; # fixes some virtualmachine issues
|
||
|
boot.zfs.forceImportRoot = false;
|
||
|
boot.zfs.forceImportAll = false;
|
||
|
boot.kernelParams = [
|
||
|
"boot.shell_on_fail"
|
||
|
"panic=30" "boot.panic_on_fail" # reboot the machine upon fatal boot issues
|
||
|
];
|
||
|
}
|