Merge pull request #130521 from Mic92/tinc

nixos/tinc: don't run as nogroup
This commit is contained in:
Martin Weinelt 2021-08-08 15:39:42 +02:00 committed by GitHub
commit a5c6a0006a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 ];