From 6983e7c78efe11f85e4b136c3e1b18ca76e926b3 Mon Sep 17 00:00:00 2001 From: Steffen Illium Date: Tue, 22 Jul 2025 10:57:20 +0200 Subject: [PATCH] moved imports to per client file --- __vars.nix | 8 +++++++- configuration.nix | 2 -- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/__vars.nix b/__vars.nix index 77d9077..ab24700 100644 --- a/__vars.nix +++ b/__vars.nix @@ -1,7 +1,13 @@ { lib, ... }: with lib; { - # + # CLIENT SPECIFIC IMPORTS + imports = [ + ./zfs-management.nix + ./nfs-mount.nix + ./keepalived.nix + ]; + # SYSTEM vars.username = ""; vars.usermail = ""; diff --git a/configuration.nix b/configuration.nix index 8300a81..c362b31 100644 --- a/configuration.nix +++ b/configuration.nix @@ -27,8 +27,6 @@ ./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 ./keepalived.nix ]; # Use the systemd-boot EFI boot loader. boot.loader.systemd-boot.enable = true;