buildClan: replace all usages by lib.clan

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

View File

@@ -6,10 +6,10 @@
{ self, clan-core, ... }:
let
# Usage see: https://docs.clan.lol
clan = clan-core.clanLib.buildClan { inherit self; };
clan = clan-core.lib.clan { inherit self; };
in
{
# all machines managed by Clan
inherit (clan) nixosConfigurations nixosModules clanInternals;
inherit (clan.config) nixosConfigurations nixosModules clanInternals;
};
}

View File

@@ -6,7 +6,7 @@
{ self, clan-core, ... }:
let
# Usage see: https://docs.clan.lol
clan = clan-core.clanLib.buildClan {
clan = clan-core.lib.clan {
inherit self;
# Ensure this is unique among all clans you want to use.
meta.name = "__CHANGE_ME__";
@@ -26,7 +26,7 @@
};
in
{
inherit (clan) nixosConfigurations nixosModules clanInternals;
inherit (clan.config) nixosConfigurations nixosModules clanInternals;
# Add the Clan cli tool to the dev shell.
# Use "nix develop" to enter the dev shell.
devShells =