Merge pull request #119803 from SuperSandro2000/SuperSandro2000-patch-1

nixos/nginx: set isSystemUser
This commit is contained in:
Lassulus 2021-04-24 22:37:46 +02:00 committed by GitHub
commit ea5759474a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -887,6 +887,7 @@ in
users.users = optionalAttrs (cfg.user == "nginx") { users.users = optionalAttrs (cfg.user == "nginx") {
nginx = { nginx = {
group = cfg.group; group = cfg.group;
isSystemUser = true;
uid = config.ids.uids.nginx; uid = config.ids.uids.nginx;
}; };
}; };