summaryrefslogtreecommitdiff
path: root/custom/tinc/def.nix
diff options
context:
space:
mode:
Diffstat (limited to 'custom/tinc/def.nix')
-rw-r--r--custom/tinc/def.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/custom/tinc/def.nix b/custom/tinc/def.nix
index 97653f72..89020633 100644
--- a/custom/tinc/def.nix
+++ b/custom/tinc/def.nix
@@ -195,10 +195,12 @@ in
195 users.extraUsers = flip mapAttrs' cfg.networks (network: _: 195 users.extraUsers = flip mapAttrs' cfg.networks (network: _:
196 nameValuePair ("tinc.${network}") ({ 196 nameValuePair ("tinc.${network}") ({
197 description = "Tinc daemon user for ${network}"; 197 description = "Tinc daemon user for ${network}";
198 group = "tinc.${network}";
198 isSystemUser = true; 199 isSystemUser = true;
199 }) 200 })
200 ); 201 );
201 202 users.extraGroups = flip mapAttrs' cfg.networks (network: _:
203 nameValuePair ("tinc.${network}") ({})
204 );
202 }; 205 };
203
204} 206}