added zrepl config as conditional and moved system package include

This commit is contained in:
Steffen Illium
2025-07-16 20:30:23 +02:00
parent 72b1bc2031
commit 80d8003e4d
2 changed files with 8 additions and 4 deletions
+3 -1
View File
@@ -27,7 +27,9 @@
./wireguard.nix
./docker.nix
./docker-device-mapper.nix
];
]
++ lib.optionals (config.vars.host_type == "nas") [ ./service-zrepl.nix ]
++ lib.optionals (config.vars.host_type == "worker") [ ./nfs-mount.nix ];
# Use the systemd-boot EFI boot loader and enable that sweet zfs stuff.
boot.loader.systemd-boot.enable = true;