added zrepl config as conditional and moved system package include
This commit is contained in:
+3
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user