Try tailscale
This commit is contained in:
parent
aa79162e2c
commit
a2e5f43a1f
17 changed files with 50 additions and 80 deletions
18
linux/singularity/headscale.nix
Normal file
18
linux/singularity/headscale.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{ config, ... }:
|
||||
|
||||
{
|
||||
services = let const = config.constants; in {
|
||||
headscale = {
|
||||
enable = true;
|
||||
address = const.localhost;
|
||||
port = 27327;
|
||||
settings.server_url = "https://headscale.${const.domain}";
|
||||
};
|
||||
tailscale = {
|
||||
enable = true;
|
||||
extraUpFlags = [ "--advertise-exit-node" ];
|
||||
port = 27919;
|
||||
useRoutingFeatures = "both";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue