Merge pull request #165764 from notgne2/oauth2-proxy-group

nixos/oauth2_proxy: add user group
This commit is contained in:
Aaron Andersen 2022-04-01 13:32:21 +02:00 committed by GitHub
commit fc5df319cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -571,8 +571,11 @@ in
users.users.oauth2_proxy = {
description = "OAuth2 Proxy";
isSystemUser = true;
group = "oauth2_proxy";
};
users.groups.oauth2_proxy = {};
systemd.services.oauth2_proxy = {
description = "OAuth2 Proxy";
path = [ cfg.package ];