bluemap: set group to nginx only if nginx is enabled

This commit is contained in:
Vegard Bieker Matthey
2026-05-23 20:38:31 +02:00
parent c59c00f3fc
commit 6a943dd7b0

View File

@@ -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