summaryrefslogtreecommitdiff
path: root/hosts/poweredge/configuration.nix
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2026-01-03 17:56:09 -0600
committerTim Keller <tjk@tjkeller.xyz>2026-01-03 17:56:09 -0600
commitb37e4df94d75bcba3f8341637d868d4a66c8f4ce (patch)
tree48bfa89ae038a0f30c094714d6d2aab4b8b69bc2 /hosts/poweredge/configuration.nix
parent6168406629257f364d8402e21808cf9cd224dc95 (diff)
downloadnixos-b37e4df94d75bcba3f8341637d868d4a66c8f4ce.tar.xz
nixos-b37e4df94d75bcba3f8341637d868d4a66c8f4ce.zip
start nixos configs for servers
Diffstat (limited to 'hosts/poweredge/configuration.nix')
-rw-r--r--hosts/poweredge/configuration.nix14
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