cluster/lib: switch to lazyAttrsOf

This commit is contained in:
Max Headroom 2024-07-17 19:34:59 +02:00
parent 1ed7ba1968
commit 648dcf6a0f

View file

@ -23,12 +23,12 @@ in
* X evaluators, Y smallBuilders, Z bigBuilders
etc.
'';
type = with types; attrsOf (oneOf [ str (listOf str) ]);
type = with types; lazyAttrsOf (oneOf [ str (listOf str) ]);
default = [];
};
otherNodes = mkOption {
description = "Other nodes in the group.";
type = with types; attrsOf (functionTo (listOf str));
type = with types; lazyAttrsOf (functionTo (listOf str));
default = [];
};
nixos = mkOption {