From 7b9a5eb561948521ac4669074cc746a0f848ed23 Mon Sep 17 00:00:00 2001 From: Collin Williams <96917990+bluedragon1221@users.noreply.github.com> Date: Thu, 8 Jan 2026 22:33:36 -0600 Subject: headscale --- hosts/ganymede/config.nix | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) (limited to 'hosts/ganymede/config.nix') diff --git a/hosts/ganymede/config.nix b/hosts/ganymede/config.nix index 50ef29a..c2b312f 100644 --- a/hosts/ganymede/config.nix +++ b/hosts/ganymede/config.nix @@ -1,4 +1,6 @@ -{config, ...}: { +{config, ...}: let + tailscaleIP = "100.69.180.89"; +in { collinux = { user.name = "collin"; @@ -32,12 +34,25 @@ }; }; tailscale.enable = true; - sshd.enable = true; + sshd = { + enable = true; + bind_host = tailscaleIP; + }; }; selfhost = { - adguard.enable = true; - forgejo.enable = true; + adguard = { + enable = true; + bind_host = tailscaleIP; + }; + forgejo = { + enable = true; + bind_host = tailscaleIP; + }; + headscale = { + enable = true; + root_url = "https://headscale.williamsfam.us.com"; + }; caddy = { enable = true; envFile = config.collinux.secrets."caddy-env".path; -- cgit v1.3.1