diff --git a/vps-configuration.nix b/vps-configuration.nix index 1f24ddf..6c04ee5 100644 --- a/vps-configuration.nix +++ b/vps-configuration.nix @@ -25,6 +25,17 @@ trustedInterfaces = [ "tailscale0" ]; }; + services.headscale = { + enable = true; + address = "0.0.0.0"; + port = 8080; + settings = { + dns_config.base_domain= "johannes-rothe.de"; + server_url = "https://headscale.johannes-rothe.de"; + }; + }; + + services.caddy = { enable = true; email = lib.strings.concatStrings ["mail" "@" "johannes-rothe.de"]; @@ -44,6 +55,9 @@ "git.johannes-rothe.de".extraConfig = '' reverse_proxy base:3001 ''; + #"headscale.johannes-rothe.de".extraConfig = '' + # reverse_proxy base:5232 + #''; "radicale.johannes-rothe.de".extraConfig = '' reverse_proxy base:5232 '';