diff options
| author | Tim Keller <tjk@tjkeller.xyz> | 2026-01-03 17:56:09 -0600 |
|---|---|---|
| committer | Tim Keller <tjk@tjkeller.xyz> | 2026-01-03 17:56:09 -0600 |
| commit | b37e4df94d75bcba3f8341637d868d4a66c8f4ce (patch) | |
| tree | 48bfa89ae038a0f30c094714d6d2aab4b8b69bc2 /hosts/poweredge/configuration.nix | |
| parent | 6168406629257f364d8402e21808cf9cd224dc95 (diff) | |
| download | nixos-b37e4df94d75bcba3f8341637d868d4a66c8f4ce.tar.xz nixos-b37e4df94d75bcba3f8341637d868d4a66c8f4ce.zip | |
start nixos configs for servers
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 |
