Switch to headscale #11
2 changed files with 17 additions and 0 deletions
|
|
@ -11,6 +11,7 @@
|
|||
./ddclient.nix
|
||||
./beep.nix
|
||||
./tailscale.nix
|
||||
./headscale.nix
|
||||
./caddy.nix
|
||||
./dns.nix
|
||||
./rust_motd.nix
|
||||
|
|
|
|||
16
roles/server/headscale.nix
Normal file
16
roles/server/headscale.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{...}: {
|
||||
services.headscale = {
|
||||
enable = true;
|
||||
settings = {
|
||||
server_url = "https://headscale.toast003.xyz";
|
||||
};
|
||||
};
|
||||
services.caddy = {
|
||||
virtualHosts.headscale = {
|
||||
hostName = "headscale.toast003.xyz";
|
||||
extraConfig = ''
|
||||
reverse_proxy localhost:8080
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue