nextcloud: shorten nginx group reference

Co-authored-by: Aaron Andersen <aaron@fosslib.net>
This commit is contained in:
DavHau 2020-07-27 20:20:13 +07:00 committed by GitHub
parent 5823ed7841
commit b90a70d53f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -510,7 +510,7 @@ in {
};
settings = mapAttrs (name: mkDefault) {
"listen.owner" = config.services.nginx.user;
"listen.group" = config.users.users.${config.services.nginx.user}.group;
"listen.group" = config.services.nginx.group;
} // cfg.poolSettings;
extraConfig = cfg.poolConfig;
};