Add remote autoscaler daemon endpoint support
All checks were successful
buildbot/nix-eval Build done.
buildbot/nix-build Build done.
buildbot/nix-effects Build done.

This commit is contained in:
Abel Luck 2026-03-05 15:47:57 +01:00
parent 95021a4253
commit 679b5c8d07
11 changed files with 291 additions and 22 deletions

View file

@ -13,6 +13,9 @@ class ServerConfig:
"""[server] section."""
socket_path: str = "/run/nix-builder-autoscaler/daemon.sock"
listen_host: str = "127.0.0.1"
listen_port: int = 0
auth_token: str = ""
log_level: str = "info"
db_path: str = "/var/lib/nix-builder-autoscaler/state.db"