Refactor(build-clan): rename to lib/modules

This is a preparation for moving everything into clan, to make it all one module evaluation
This commit is contained in:
Johannes Kirschbauer
2025-06-23 16:06:49 +02:00
parent 6350978ad0
commit ac5cc85d57
18 changed files with 7 additions and 7 deletions

View File

@@ -11,7 +11,7 @@ let
buildClanModule = clan-core.clanLib.buildClanModule;
publicAttrs = import ../lib/build-clan/public.nix;
publicAttrs = import ../lib/modules/public.nix;
# Create output options only for listed attributes
# TODO: Refactor this into an explicit module, so we can have description and other attributes to be listed in flake-parts
outputModule = {

View File

@@ -39,7 +39,7 @@ lib.fix (clanLib: {
# ------------------------------------
# ClanLib functions
evalClan = clanLib.callLib ./inventory/eval-clan-modules { };
buildClanModule = clanLib.callLib ./build-clan { };
buildClanModule = clanLib.callLib ./modules { };
inventory = clanLib.callLib ./inventory { };
modules = clanLib.callLib ./inventory/frontmatter { };
test = clanLib.callLib ./test { };

View File

@@ -7,7 +7,7 @@
rec {
# TODO: automatically generate this from the directory conventions
imports = [
./build-clan/flake-module.nix
./modules/flake-module.nix
./clanTest/flake-module.nix
./introspection/flake-module.nix
./inventory/flake-module.nix

View File

@@ -13,7 +13,7 @@
"path": "../../nixosModules"
},
{
"path": "../../lib/build-clan"
"path": "../../lib/modules"
},
{
"path": "./ui"
@@ -50,4 +50,4 @@
},
"files.autoSave": "off"
}
}
}

View File

@@ -13,7 +13,7 @@
"path": "../../nixosModules"
},
{
"path": "../../lib/build-clan"
"path": "../../lib/modules"
},
{
"path": "../../../democlan"
@@ -43,4 +43,4 @@
},
"files.autoSave": "off"
}
}
}