about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLassulus <github@lassul.us>2021-04-24 22:37:46 +0200
committerGitHub <noreply@github.com>2021-04-24 22:37:46 +0200
commitea5759474ac28cb06dcdc239d71db48fe433f100 (patch)
tree93dd72aa9835ab7ab1aca6650240a8da993e1b98
parent7b2982e22eb3ca5016161abc0946f88bb43b1e09 (diff)
parent15cd5fc57ead4d312acbc3edad680ebe4fc0706a (diff)
Merge pull request #119803 from SuperSandro2000/SuperSandro2000-patch-1
nixos/nginx: set isSystemUser
-rw-r--r--nixos/modules/services/web-servers/nginx/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/web-servers/nginx/default.nix b/nixos/modules/services/web-servers/nginx/default.nix
index 51c2f3febdc76..18e1263fef5e9 100644
--- a/nixos/modules/services/web-servers/nginx/default.nix
+++ b/nixos/modules/services/web-servers/nginx/default.nix
@@ -887,6 +887,7 @@ in
     users.users = optionalAttrs (cfg.user == "nginx") {
       nginx = {
         group = cfg.group;
+        isSystemUser = true;
         uid = config.ids.uids.nginx;
       };
     };