From c7e9ff3c853755cd3b0e8bc7443d55d222a06f80 Mon Sep 17 00:00:00 2001 From: Collin Williams <96917990+bluedragon1221@users.noreply.github.com> Date: Sun, 11 Jan 2026 08:03:03 -0600 Subject: clean up services/networking config even more --- hosts/ganymede/config.nix | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) (limited to 'hosts') diff --git a/hosts/ganymede/config.nix b/hosts/ganymede/config.nix index 3adf620..0d3f15e 100644 --- a/hosts/ganymede/config.nix +++ b/hosts/ganymede/config.nix @@ -5,7 +5,10 @@ in { user.name = "collin"; secrets = { - "williams-psk".file = ./williams-psk.age; + "williams-psk" = { + file = ./williams-psk.age; + owner = "wpa_supplicant"; + }; "caddy-env".file = ./caddy-env.age; "tsnsrv-authkey".file = ./tsnsrv-authkey.age; }; @@ -40,28 +43,26 @@ in { }; sshd = { enable = true; - bind_host = tailscaleIP; + bind_host = "0.0.0.0"; }; }; selfhost = { - magic_caddy.enable = false; + caddy = { + enable = true; + envFile = config.collinux.secrets."caddy-env".path; + }; - # adguard = { - # enable = true; - # bind_host = tailscaleIP; - # }; forgejo = { enable = true; bind_host = tailscaleIP; + root_url = "ganymede.collinux.tailnet:8010"; }; + headscale = { enable = true; - root_url = "https://headscale.williamsfam.us.com"; - }; - caddy = { - enable = true; - envFile = config.collinux.secrets."caddy-env".path; + root_url = "headscale.williamsfam.us.com"; + caddy.enable = true; }; }; }; -- cgit v1.3.1