updated to headscale 0.23.0

This commit is contained in:
Nickiel12 2024-10-09 17:21:23 -07:00
parent 7ca037fd9f
commit 1ae80a316d

View file

@ -2,8 +2,8 @@
let let
tailscale_dns_entries = import ./dns.nix; tailscale_dns_entries = import ./dns.nix;
baseDomain = "nickiel.net"; baseDomain = "tailscale.nickiel.net";
domain = "headscale.${baseDomain}"; domain = "headscale.nickiel.net";
in { in {
# headscale routes list # headscale routes list
# headscale routes enable -r NUMBER # headscale routes enable -r NUMBER
@ -30,8 +30,10 @@ in {
type = "sqlite3"; type = "sqlite3";
sqlite.path = "/var/lib/headscale/db.sqlite"; sqlite.path = "/var/lib/headscale/db.sqlite";
}; };
dns_config = {};
dns = { dns = {
base_domain = baseDomain; base_domain = baseDomain;
magic_dns = true;
extra_records = tailscale_dns_entries; extra_records = tailscale_dns_entries;
}; };
derp = { derp = {