Merge pull request #189 from naturallaw777/copilot/fix-headscale-database-deprecation
Fix deprecated Headscale database settings for nixos-unstable
This commit is contained in:
@@ -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";
|
||||||
|
|||||||
Reference in New Issue
Block a user