summaryrefslogtreecommitdiff
path: root/hosts/poweredge-pro/configuration.nix
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2026-08-24 18:11:45 -0500
committerTim Keller <tjk@tjkeller.xyz>2026-08-24 18:11:45 -0500
commitb691b0faa814dcaef4ef6b6c709a73ae4b232e7f (patch)
tree69fffcd7ef46a78644a1bec5c1957495e5985390 /hosts/poweredge-pro/configuration.nix
parent1c9ffed96c3d348eb2db3d03c420e6c79ec16220 (diff)
downloadnixos-b691b0faa814dcaef4ef6b6c709a73ae4b232e7f.tar.xz
nixos-b691b0faa814dcaef4ef6b6c709a73ae4b232e7f.zip
poweredge-pro initial configHEADmaster
Diffstat (limited to 'hosts/poweredge-pro/configuration.nix')
-rw-r--r--hosts/poweredge-pro/configuration.nix34
1 files changed, 34 insertions, 0 deletions
diff --git a/hosts/poweredge-pro/configuration.nix b/hosts/poweredge-pro/configuration.nix
new file mode 100644
index 0000000..fc6b854
--- /dev/null
+++ b/hosts/poweredge-pro/configuration.nix
@@ -0,0 +1,34 @@
+{ config, lib, pkgs, ... }: {
+ imports = [
+ ./key.nix
+ ./networking.nix
+ ./fileshares.nix
+ ];
+
+ # Setup bootloader
+ boot._loader.enable = true;
+
+ # Enable common options
+ _archetypes = {
+ profiles = {
+ headless = {
+ enable = true;
+ home.users.timmy.enable = true;
+ };
+ zfs.enable = true;
+ #cuda.enable = true;
+ };
+ collections.virtualization.enable = true;
+ };
+
+ # Import zfs pools
+ boot.zfs.extraPools = [ "VMDisk" "Storage" ];
+
+ # Enable user timmy
+ _users.timmy.enable = true;
+
+ # Without this, "ZFS requires networking.hostId to be set" will be raised
+ networking.hostId = "2c7d6b03";
+
+ system.stateVersion = "26.05";
+}