services/nginx: add main user to nginx group

This commit is contained in:
Henrik Lissner 2021-01-02 00:26:07 -05:00
parent bca8c84ab3
commit 096a60d61f
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -11,6 +11,8 @@ in {
config = mkIf cfg.enable {
networking.firewall.allowedTCPPorts = [ 80 443 ];
user.extraGroups = [ "nginx" ];
services.nginx = {
enable = true;