headscale: prepare for jellyfin move
This commit is contained in:
parent
c776c47d8e
commit
51457c2bee
4 changed files with 22 additions and 1 deletions
Binary file not shown.
|
@ -44,7 +44,7 @@
|
||||||
|
|
||||||
networking.firewall.interfaces =
|
networking.firewall.interfaces =
|
||||||
let
|
let
|
||||||
interfaces = lib.mapAttrsToList (_: lib.attrsets.attrByPath [ "matchConfig" "Name" ] null) config.systemd.network.networks;
|
interfaces = lib.mapAttrsToList (_: lib.attrsets.attrByPath [ "matchConfig" "Name" ] null) config.systemd.network.networks ++ [ "tailscale0" ];
|
||||||
in
|
in
|
||||||
builtins.listToAttrs
|
builtins.listToAttrs
|
||||||
(builtins.map
|
(builtins.map
|
||||||
|
|
|
@ -25,6 +25,17 @@ in
|
||||||
|
|
||||||
server_url = "https://${fqdn}";
|
server_url = "https://${fqdn}";
|
||||||
acl_policy_path = config.age.secrets.headscale-acls.path;
|
acl_policy_path = config.age.secrets.headscale-acls.path;
|
||||||
|
|
||||||
|
dns_config = {
|
||||||
|
override_local_dns = false;
|
||||||
|
|
||||||
|
nameservers = [
|
||||||
|
"100.64.10.1"
|
||||||
|
"100.64.10.6"
|
||||||
|
];
|
||||||
|
|
||||||
|
base_domain = "mesh.kempkens.network";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -30,12 +30,22 @@
|
||||||
addr = "0.0.0.0";
|
addr = "0.0.0.0";
|
||||||
port = 9920;
|
port = 9920;
|
||||||
ssl = true;
|
ssl = true;
|
||||||
|
extraParameters = [
|
||||||
|
"fastopen=63"
|
||||||
|
"backlog=1023"
|
||||||
|
"deferred"
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
addr = "[::0]";
|
addr = "[::0]";
|
||||||
port = 9920;
|
port = 9920;
|
||||||
ssl = true;
|
ssl = true;
|
||||||
|
extraParameters = [
|
||||||
|
"fastopen=63"
|
||||||
|
"backlog=1023"
|
||||||
|
"deferred"
|
||||||
|
];
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue