nix-stuff/roles/server/headscale.nix
2024-10-29 11:50:27 +01:00

16 lines
314 B
Nix

{...}: {
services.headscale = {
enable = true;
settings = {
server_url = "https://headscale.toast003.xyz";
};
};
services.caddy = {
virtualHosts.headscale = {
hostName = "headscale.toast003.xyz";
extraConfig = ''
reverse_proxy localhost:8080
'';
};
};
}