set worker log level to debug

This commit is contained in:
goeranh 2026-04-30 15:41:39 +02:00
parent 05c8508c18
commit 20b1103a6c
No known key found for this signature in database

View file

@ -52,6 +52,21 @@
configureNginx = true; configureNginx = true;
# serveCache = true; # serveCache = true;
reportErrors = true; # optional: will send crash reports to us reportErrors = true; # optional: will send crash reports to us
worker = {
enable = true;
serverUrl = "ws://127.0.0.1:3000/proto";
workerId = "8f56dd3a-5698-4512-8bf7-ab8dcfaed46c";
peersFile = "/run/secrets/gradient-worker-peers";
capabilities = {
fetch = true;
eval = true;
build = true;
};
settings = {
logLevel.default = "debug";
};
};
}; };
nginx.virtualHosts."${config.networking.fqdn}".listen = [ nginx.virtualHosts."${config.networking.fqdn}".listen = [
@ -66,21 +81,7 @@
proxyProtocol = true; proxyProtocol = true;
} }
]; ];
gradient.worker = {
enable = true;
serverUrl = "ws://127.0.0.1:3000/proto";
workerId = "8f56dd3a-5698-4512-8bf7-ab8dcfaed46c";
peersFile = "/run/secrets/gradient-worker-peers";
capabilities = {
fetch = true;
eval = true;
build = true;
}; };
};
};
system.stateVersion = "25.11"; system.stateVersion = "25.11";
} }