feat(lib/inventory): use clanLib instead of clan-core as internal specialArg. This has the benefit of beeing more narrow scoped.
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
let
|
||||
inventory = (
|
||||
import ../build-inventory {
|
||||
inherit lib clan-core;
|
||||
inherit lib;
|
||||
clanLib = clan-core.clanLib;
|
||||
}
|
||||
);
|
||||
inherit (inventory) buildInventory;
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
clan-core,
|
||||
...
|
||||
}:
|
||||
{
|
||||
# Just some random stuff
|
||||
config.user.user = lib.mapAttrs clan-core.users.root;
|
||||
options.test = lib.mapAttrs clan-core;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user