summaryrefslogtreecommitdiff
path: root/modules/hosts/poweredge
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2025-07-25 19:40:11 -0500
committerTim Keller <tjk@tjkeller.xyz>2025-07-25 19:40:11 -0500
commitd1bfe309993175184c00d22fc116470b7777e947 (patch)
tree1931744ad7be80d826ac21f0ea5192fbced110f5 /modules/hosts/poweredge
parentc27fa0a0f9e2ec85cbb7338a263ab1511c86e955 (diff)
downloadnixos-d1bfe309993175184c00d22fc116470b7777e947.tar.xz
nixos-d1bfe309993175184c00d22fc116470b7777e947.zip
add poweredge hostHEADmaster
Diffstat (limited to 'modules/hosts/poweredge')
-rw-r--r--modules/hosts/poweredge/configuration.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/modules/hosts/poweredge/configuration.nix b/modules/hosts/poweredge/configuration.nix
new file mode 100644
index 0000000..08e392d
--- /dev/null
+++ b/modules/hosts/poweredge/configuration.nix
@@ -0,0 +1,19 @@
+{ 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"; }
+ ];
+ };
+
+ # Disable suspend
+ suspend.enable = false;
+
+ system.stateVersion = "25.05";
+}