diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2021-10-19 18:35:21 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2021-10-19 18:35:21 +0200 |
commit | 98c835409ab1c488f55fa47162c709b51f260c34 (patch) | |
tree | 991a97f1b40be6e0280ff7783693a2fab41bcb8b /custom/tinc/def.nix | |
parent | 5f54ce9175debe1776fc967e0a84199c016576ca (diff) | |
download | nixos-98c835409ab1c488f55fa47162c709b51f260c34.tar nixos-98c835409ab1c488f55fa47162c709b51f260c34.tar.gz nixos-98c835409ab1c488f55fa47162c709b51f260c34.tar.bz2 nixos-98c835409ab1c488f55fa47162c709b51f260c34.tar.xz nixos-98c835409ab1c488f55fa47162c709b51f260c34.zip |
...
Diffstat (limited to 'custom/tinc/def.nix')
-rw-r--r-- | custom/tinc/def.nix | 6 |
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 | } |