1
0

lib/default.nix: Refactor lib loading

This commit is contained in:
2023-12-10 18:27:55 +01:00
parent 9ca9ed3ef3
commit 671f5925c1
2 changed files with 22 additions and 1 deletions

20
lib/default.nix Normal file
View File

@@ -0,0 +1,20 @@
inputs:
let
callLibs = file: import file ({
inherit lib inputs;
} // inputs);
lib = {
flake-helper = callLibs ./flake-helper.nix;
inherit ("flake-helper")
generateNixosSystem
mapToNixosConfigurations
generateColmenaHost
mapToColmenaHosts
buildHosts;
};
in
lib