diff options
Diffstat (limited to 'hosts/poweredge/configuration.nix')
| -rw-r--r-- | hosts/poweredge/configuration.nix | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/hosts/poweredge/configuration.nix b/hosts/poweredge/configuration.nix index 08e392d..f031a3b 100644 --- a/hosts/poweredge/configuration.nix +++ b/hosts/poweredge/configuration.nix @@ -1,15 +1,11 @@ { config, lib, pkgs, ... }: { imports = [ ./hardware-configuration.nix ]; - # ZFS bootloader - bootloader.loader = "grub"; - bootloader.mode = "efi"; - boot.loader.grub = { - zfsSupport = true; - efiInstallAsRemovable = true; - mirroredBoots = [ - { devices = [ "nodev" ]; path = "/boot"; } - ]; + # Grub bootloader with zfs support + boot._loader = { + enable = true; + type = "grub"; + grub.zfsSupport = true; }; # Disable suspend |
