From 0d59a5928e712e3a87c7c0cfef7fbb40f0e53975 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E0=B9=82=E0=B8=97=E0=B8=AA=E0=B8=95=E0=B8=B1=E0=B8=A5?= Date: Thu, 12 Dec 2024 12:14:47 +0700 Subject: [PATCH] optionally add group to nginx user --- nixos/modules/services/web-apps/movim.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/services/web-apps/movim.nix b/nixos/modules/services/web-apps/movim.nix index 5d15b8e12ecb..58827170ef79 100644 --- a/nixos/modules/services/web-apps/movim.nix +++ b/nixos/modules/services/web-apps/movim.nix @@ -440,6 +440,7 @@ in isSystemUser = true; group = cfg.group; }; + } // lib.optionalAttrs (cfg.nginx != null) { "${config.services.nginx.user}".extraGroups = [ cfg.group ]; }; groups = {