Merge pull request #189 from naturallaw777/copilot/fix-headscale-database-deprecation

Fix deprecated Headscale database settings for nixos-unstable
This commit is contained in:
Sovran_Systems
2026-04-11 19:54:36 -05:00
committed by GitHub

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";