Merge pull request #130521 from Mic92/tinc
nixos/tinc: don't run as nogroup
This commit is contained in:
commit
a5c6a0006a
@ -427,9 +427,12 @@ in
|
||||
nameValuePair ("tinc.${network}") ({
|
||||
description = "Tinc daemon user for ${network}";
|
||||
isSystemUser = true;
|
||||
group = "tinc.${network}";
|
||||
})
|
||||
);
|
||||
|
||||
users.groups = flip mapAttrs' cfg.networks (network: _:
|
||||
nameValuePair "tinc.${network}" {}
|
||||
);
|
||||
};
|
||||
|
||||
meta.maintainers = with maintainers; [ minijackson ];
|
||||
|
Loading…
Reference in New Issue
Block a user