From 096a60d61f658be7fe1f5fb42e278c52427b3df5 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 2 Jan 2021 00:26:07 -0500 Subject: [PATCH] services/nginx: add main user to nginx group --- modules/services/nginx.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/services/nginx.nix b/modules/services/nginx.nix index c3850819..47484a26 100644 --- a/modules/services/nginx.nix +++ b/modules/services/nginx.nix @@ -11,6 +11,8 @@ in { config = mkIf cfg.enable { networking.firewall.allowedTCPPorts = [ 80 443 ]; + user.extraGroups = [ "nginx" ]; + services.nginx = { enable = true;