mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2024-11-22 12:49:32 -08:00
updated to headscale 0.23.0
This commit is contained in:
parent
7ca037fd9f
commit
1ae80a316d
1 changed files with 4 additions and 2 deletions
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in a new issue