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:
@@ -11,7 +11,7 @@ let
|
|||||||
|
|
||||||
buildClanModule = clan-core.clanLib.buildClanModule;
|
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
|
# 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
|
# TODO: Refactor this into an explicit module, so we can have description and other attributes to be listed in flake-parts
|
||||||
outputModule = {
|
outputModule = {
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ lib.fix (clanLib: {
|
|||||||
# ------------------------------------
|
# ------------------------------------
|
||||||
# ClanLib functions
|
# ClanLib functions
|
||||||
evalClan = clanLib.callLib ./inventory/eval-clan-modules { };
|
evalClan = clanLib.callLib ./inventory/eval-clan-modules { };
|
||||||
buildClanModule = clanLib.callLib ./build-clan { };
|
buildClanModule = clanLib.callLib ./modules { };
|
||||||
inventory = clanLib.callLib ./inventory { };
|
inventory = clanLib.callLib ./inventory { };
|
||||||
modules = clanLib.callLib ./inventory/frontmatter { };
|
modules = clanLib.callLib ./inventory/frontmatter { };
|
||||||
test = clanLib.callLib ./test { };
|
test = clanLib.callLib ./test { };
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
rec {
|
rec {
|
||||||
# TODO: automatically generate this from the directory conventions
|
# TODO: automatically generate this from the directory conventions
|
||||||
imports = [
|
imports = [
|
||||||
./build-clan/flake-module.nix
|
./modules/flake-module.nix
|
||||||
./clanTest/flake-module.nix
|
./clanTest/flake-module.nix
|
||||||
./introspection/flake-module.nix
|
./introspection/flake-module.nix
|
||||||
./inventory/flake-module.nix
|
./inventory/flake-module.nix
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
"path": "../../nixosModules"
|
"path": "../../nixosModules"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "../../lib/build-clan"
|
"path": "../../lib/modules"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "./ui"
|
"path": "./ui"
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
"path": "../../nixosModules"
|
"path": "../../nixosModules"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "../../lib/build-clan"
|
"path": "../../lib/modules"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "../../../democlan"
|
"path": "../../../democlan"
|
||||||
|
|||||||
Reference in New Issue
Block a user