From 111d55a1bc5b144016d0515c286ed49e0502f167 Mon Sep 17 00:00:00 2001 From: Johannes Kirschbauer Date: Wed, 26 Mar 2025 17:12:16 +0100 Subject: [PATCH] feat(clan/services): init new clanInternals attribute 'distributedServices' --- lib/build-clan/interface.nix | 2 ++ lib/build-clan/module.nix | 1 + 2 files changed, 3 insertions(+) diff --git a/lib/build-clan/interface.nix b/lib/build-clan/interface.nix index 20c427879..ed4268ec3 100644 --- a/lib/build-clan/interface.nix +++ b/lib/build-clan/interface.nix @@ -142,6 +142,8 @@ in inventoryFile = lib.mkOption { type = lib.types.raw; }; # The machine 'imports' generated by the inventory per machine inventoryClass = lib.mkOption { type = lib.types.raw; }; + # new attribute + distributedServices = lib.mkOption { type = lib.types.raw; }; # clan-core's modules clanModules = lib.mkOption { type = lib.types.raw; }; source = lib.mkOption { type = lib.types.raw; }; diff --git a/lib/build-clan/module.nix b/lib/build-clan/module.nix index 873ff56b5..1463d215e 100644 --- a/lib/build-clan/module.nix +++ b/lib/build-clan/module.nix @@ -199,6 +199,7 @@ in clanInternals = { moduleSchemas = clan-core.lib.modules.getModulesSchema config.inventory.modules; inherit inventoryClass; + distributedServices = {}; inherit (clan-core) clanModules; inherit inventoryFile; inventoryValuesPrios =