diff options
| author | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2026-01-08 22:33:36 -0600 |
|---|---|---|
| committer | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2026-01-08 22:33:36 -0600 |
| commit | 7b9a5eb561948521ac4669074cc746a0f848ed23 (patch) | |
| tree | e0ef6c7e172bedc3398197c7a1ffabed31b3134a /hosts/ganymede/config.nix | |
| parent | 806f697f17214212197f09a8c6aaf6da307e496f (diff) | |
headscale
Diffstat (limited to 'hosts/ganymede/config.nix')
| -rw-r--r-- | hosts/ganymede/config.nix | 23 |
1 files changed, 19 insertions, 4 deletions
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; |
