cluster/lib: switch to lazyAttrsOf

This commit is contained in:
Max Headroom 2024-07-17 19:34:59 +02:00
parent fa57c810c0
commit 33264bf43b

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 {