moved imports to per client file

This commit is contained in:
2025-07-22 10:57:20 +02:00
parent 725709711f
commit 6983e7c78e
2 changed files with 7 additions and 3 deletions

View File

@@ -1,7 +1,13 @@
{ lib, ... }: { lib, ... }:
with lib; with lib;
{ {
# # CLIENT SPECIFIC IMPORTS
imports = [
./zfs-management.nix
./nfs-mount.nix
./keepalived.nix
];
# SYSTEM # SYSTEM
vars.username = ""; vars.username = "";
vars.usermail = ""; vars.usermail = "";

View File

@@ -27,8 +27,6 @@
./docker.nix ./docker.nix
./docker-device-mapper.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 ./keepalived.nix ];
# Use the systemd-boot EFI boot loader. # Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;