| 1 | { |
| 2 | boot = { |
| 3 | initrd.availableKernelModules = [ |
| 4 | "ahci" |
| 5 | "xhci_pci" |
| 6 | "nvme" |
| 7 | "usbhid" |
| 8 | ]; |
| 9 | kernelModules = [ "kvm-amd" ]; |
| 10 | supportedFilesystems.zfs = true; |
| 11 | loader = { |
| 12 | efi.canTouchEfiVariables = false; |
| 13 | grub = { |
| 14 | enable = true; |
| 15 | efiSupport = true; |
| 16 | efiInstallAsRemovable = true; |
| 17 | mirroredBoots = [ |
| 18 | { |
| 19 | devices = [ "nodev" ]; |
| 20 | path = "/efi/a"; |
| 21 | } |
| 22 | { |
| 23 | devices = [ "nodev" ]; |
| 24 | path = "/efi/b"; |
| 25 | } |
| 26 | ]; |
| 27 | }; |
| 28 | }; |
| 29 | }; |
| 30 | } |