minimal working state

This commit is contained in:
do butterflies cry? 2026-03-17 20:37:59 +10:00
parent 855430ef16
commit 6c1a0a5d33
Signed by: cry
GPG key ID: F68745A836CA0412
26 changed files with 331 additions and 326 deletions

View file

@ -12,7 +12,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
{
_snow,
_snowFlake,
snow,
root,
lib,
config,
specialArgs,
@ -26,7 +28,10 @@
flakeRef = types.either types.str types.path;
groupLibs = import ./groups.nix {inherit (_snow.inputs) nt;};
groupLibs = import ./groups.nix {
inherit snow root;
inherit (_snowFlake.inputs) nt;
};
in {
options = {
base = lib.mkOption {
@ -94,8 +99,6 @@ in {
description = ''
Hierarchical groups that nodes can be a member of.
'';
apply = groupLibs.parseGroupsDecl;
};
nodes = mkOption {
@ -103,7 +106,8 @@ in {
specialArgs =
specialArgs
// {
nodeConfig = config;
nodesConfig = config;
inherit groupLibs;
};
modules = [./node.nix];
});