fix: replace deprecated db_type/db_path with database block in headscale settings

Agent-Logs-Url: https://github.com/naturallaw777/staging_alpha/sessions/690ff811-901e-4539-b11b-998bc120186f

Co-authored-by: naturallaw777 <99053422+naturallaw777@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-04-12 00:49:03 +00:00
committed by GitHub
parent 35e56afa0f
commit b767b6d53b

View File

@@ -197,8 +197,10 @@ in
port = 8080; port = 8080;
settings = { settings = {
server_url = "https://${cfg.headscaleDomain}"; server_url = "https://${cfg.headscaleDomain}";
db_type = "sqlite3"; database = {
db_path = "/var/lib/headscale/db.sqlite"; type = "sqlite3";
sqlite.path = "/var/lib/headscale/db.sqlite";
};
prefixes = { prefixes = {
v4 = "100.64.0.0/10"; v4 = "100.64.0.0/10";
v6 = "fd7a:115c:a1e0::/48"; v6 = "fd7a:115c:a1e0::/48";