flake: define option for clanInternals

We need this to define test machines in different flake modules
This commit is contained in:
lassulus
2023-12-18 23:38:27 +01:00
parent 40124d707d
commit f932dab29c
2 changed files with 18 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ let
in
{
flake.nixosConfigurations = { inherit (clan.nixosConfigurations) test_backup_client; };
flake.clanInternals = clan.clanInternals;
flake.clanInternals.machines = clan.clanInternals.machines;
flake.nixosModules = {
test_backup_server = { ... }: {
imports = [