mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2024-11-22 04:39: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
|
||||
tailscale_dns_entries = import ./dns.nix;
|
||||
baseDomain = "nickiel.net";
|
||||
domain = "headscale.${baseDomain}";
|
||||
baseDomain = "tailscale.nickiel.net";
|
||||
domain = "headscale.nickiel.net";
|
||||
in {
|
||||
# headscale routes list
|
||||
# headscale routes enable -r NUMBER
|
||||
|
@ -30,8 +30,10 @@ in {
|
|||
type = "sqlite3";
|
||||
sqlite.path = "/var/lib/headscale/db.sqlite";
|
||||
};
|
||||
dns_config = {};
|
||||
dns = {
|
||||
base_domain = baseDomain;
|
||||
magic_dns = true;
|
||||
extra_records = tailscale_dns_entries;
|
||||
};
|
||||
derp = {
|
||||
|
|
Loading…
Reference in a new issue