clan-nixos-test: pass clan-core to test nodes via module args

This allows tests that need access to clan-core (e.g. for clan-cli or
dependencies) to use it within their node configurations.
This commit is contained in:
Jörg Thalheim
2025-06-17 19:04:17 +02:00
parent 3a1b2aede8
commit 268a95f2e4

View File

@@ -45,6 +45,14 @@ in
]; ];
hostPkgs = pkgs; hostPkgs = pkgs;
defaults = {
imports = [
{
_module.args.clan-core = self;
}
];
};
} }
); );
in in
@@ -65,6 +73,14 @@ in
]; ];
hostPkgs = pkgs; hostPkgs = pkgs;
defaults = {
imports = [
{
_module.args.clan-core = self;
}
];
};
} }
) )
) cfg) ) cfg)