diff --git a/modules/bluemap.nix b/modules/bluemap.nix index b9150fa..8a6df0b 100644 --- a/modules/bluemap.nix +++ b/modules/bluemap.nix @@ -376,7 +376,7 @@ in { serviceConfig = { Type = "oneshot"; CPUSchedulingPolicy = "batch"; - Group = "nginx"; + Group = lib.mkIf cfg.enableNginx "nginx"; UMask = "026"; ExecStart = [ # If web folder doesnt exist generate it