buildClan: replace all usages by lib.clan

This commit is contained in:
Johannes Kirschbauer
2025-07-01 11:56:31 +02:00
parent f97385a9dc
commit ae274d6b82
11 changed files with 41 additions and 43 deletions

View File

@@ -19,7 +19,7 @@
builtins.fromJSON (builtins.readFile ./clan_attrs.json)
else
{ };
clan = clan-core.clanLib.buildClan {
clan = clan-core.lib.clan {
inherit self;
meta.name = "test_flake_with_core";
# Don't quote this will be replaced by the inventory expression
@@ -62,6 +62,6 @@
in
{
clan = clan_attrs_json;
inherit (clan) nixosConfigurations nixosModules clanInternals;
inherit (clan.config) nixosConfigurations nixosModules clanInternals;
};
}

View File

@@ -8,7 +8,7 @@
outputs =
{ self, clan-core }:
let
clan = clan-core.clanLib.buildClan {
clan = clan-core.lib.clan {
inherit self;
meta.name = "test_flake_with_core_and_pass";
machines = {
@@ -44,6 +44,6 @@
};
in
{
inherit (clan) nixosConfigurations nixosModules clanInternals;
inherit (clan.config) nixosConfigurations nixosModules clanInternals;
};
}

View File

@@ -8,7 +8,7 @@
outputs =
{ self, clan-core }:
let
clan = clan-core.clanLib.buildClan {
clan = clan-core.lib.clan {
inherit self;
meta.name = "test_flake_with_core_dynamic_machines";
machines =
@@ -19,6 +19,6 @@
};
in
{
inherit (clan) nixosConfigurations nixosModules clanInternals;
inherit (clan.config) nixosConfigurations nixosModules clanInternals;
};
}