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:
Johannes Kirschbauer
2025-03-30 16:41:03 +02:00
parent 06dd2ebf8c
commit f2e89d27fe
7 changed files with 14 additions and 18 deletions

View File

@@ -1,6 +1,6 @@
# Generate partial NixOS configurations for every machine in the inventory
# This function is responsible for generating the module configuration for every machine in the inventory.
{ lib, clan-core }:
{ lib, clanLib }:
let
/*
Returns a set with NixOS configuration for every machine in the inventory.
@@ -11,7 +11,7 @@ let
{ inventory, directory }:
(lib.evalModules {
specialArgs = {
inherit clan-core;
inherit clanLib;
};
modules = [
./builder