From 98c835409ab1c488f55fa47162c709b51f260c34 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 19 Oct 2021 18:35:21 +0200 Subject: ... --- custom/tinc/def.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'custom/tinc') 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 users.extraUsers = flip mapAttrs' cfg.networks (network: _: nameValuePair ("tinc.${network}") ({ description = "Tinc daemon user for ${network}"; + group = "tinc.${network}"; isSystemUser = true; }) ); - + users.extraGroups = flip mapAttrs' cfg.networks (network: _: + nameValuePair ("tinc.${network}") ({}) + ); }; - } -- cgit v1.2.3