From 9a6a8d2902f63b62f64a2d35e785abdd218f6dbe Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone <exarkun@twistedmatrix.com> Date: Thu, 17 Feb 2022 10:53:09 -0500 Subject: [PATCH] read cfg.nodes to define groups for tahoe nodes groups based on cfg.introducers are already set up above and this expression is clearly meant to define groups for the nodes --- nixos/modules/tahoe.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/tahoe.nix b/nixos/modules/tahoe.nix index 44c381e6..e4a83006 100644 --- a/nixos/modules/tahoe.nix +++ b/nixos/modules/tahoe.nix @@ -293,7 +293,7 @@ in isSystemUser = true; group = "tahoe.${node}"; }); - users.groups = flip mapAttrs' cfg.introducers (node: _: + users.groups = flip mapAttrs' cfg.nodes (node: _: nameValuePair "tahoe.${node}" { }); }) -- GitLab