Format
This commit is contained in:
parent
c47db92a88
commit
09bc19268d
29 changed files with 151 additions and 210 deletions
|
|
@ -1,21 +1,14 @@
|
|||
{config, ...}: {
|
||||
services = {
|
||||
headscale = with config.constants; {
|
||||
enable = true;
|
||||
address = localhost;
|
||||
port = port.headscale;
|
||||
settings = {
|
||||
dns = {
|
||||
base_domain = "tailscale.${domain}";
|
||||
override_local_dns = false;
|
||||
};
|
||||
server_url = "https://headscale.${domain}";
|
||||
services.headscale = with config.constants; {
|
||||
enable = true;
|
||||
address = localhost;
|
||||
port = port.headscale;
|
||||
settings = {
|
||||
dns = {
|
||||
base_domain = "tailscale.${domain}";
|
||||
override_local_dns = false;
|
||||
};
|
||||
};
|
||||
tailscale = {
|
||||
enable = true;
|
||||
port = 27919;
|
||||
useRoutingFeatures = "both";
|
||||
server_url = "https://headscale.${domain}";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue