From 33264bf43b15907418be99b4bf632048272ac7c8 Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 17 Jul 2024 19:34:59 +0200 Subject: [PATCH] cluster/lib: switch to lazyAttrsOf --- cluster/lib/service-module.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cluster/lib/service-module.nix b/cluster/lib/service-module.nix index 24d8238..3ef8c98 100644 --- a/cluster/lib/service-module.nix +++ b/cluster/lib/service-module.nix @@ -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 {