Switch to headscale #11

Merged
Toast merged 9 commits from headscale into main 2024-11-03 01:30:30 +01:00
2 changed files with 17 additions and 0 deletions
Showing only changes of commit dfd094ef67 - Show all commits

View file

@ -11,6 +11,7 @@
./ddclient.nix
./beep.nix
./tailscale.nix
./headscale.nix
./caddy.nix
./dns.nix
./rust_motd.nix

View 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
'';
};
};
}