diff options
| author | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2026-01-19 07:44:46 -0600 |
|---|---|---|
| committer | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2026-01-19 07:44:46 -0600 |
| commit | 55d12269daddc3648eae5d236756059191834431 (patch) | |
| tree | 1fd86605cd40e869cefd760b67d8a2440f7ff782 /hosts/ganymede/config.nix | |
| parent | d6c4bd6d87d31a2c688fb2fcfdb0cb15d8f9163d (diff) | |
initial wireguard setup
Diffstat (limited to 'hosts/ganymede/config.nix')
| -rw-r--r-- | hosts/ganymede/config.nix | 38 |
1 files changed, 17 insertions, 21 deletions
diff --git a/hosts/ganymede/config.nix b/hosts/ganymede/config.nix index f6b3b74..a7a68ea 100644 --- a/hosts/ganymede/config.nix +++ b/hosts/ganymede/config.nix @@ -1,6 +1,4 @@ -{config, ...}: let - tailscaleIP = "100.100.218.182"; -in { +{config, ...}: { collinux = { user.name = "collin"; @@ -21,18 +19,16 @@ in { ip = "100.100.0.1"; gateway = "100.100.0.1"; privateKeyFile = config.collinux.secrets."wg-key".path; - peers = [ - { - # mercury + peers = { + "mercury" = { publicKey = "EDDppGqbLfEwEcHLP3J+bxKVGW16fAcU83K/ZKR2h3A="; ip = "100.100.0.5/32"; - } - { - # jupiter + }; + "jupiter" = { publicKey = "Pi1PydaaEz9IcAZ+elH5HkzEa2D35P/tUy+9KKH6PHI="; ip = "100.100.0.10/32"; - } - ]; + }; + }; }; terminal = { @@ -59,10 +55,10 @@ in { gateway = "192.168.50.1"; }; }; - tailscale = { - enable = true; - tailnet = "collinux.tailnet"; - }; + # tailscale = { + # enable = true; + # tailnet = "collinux.tailnet"; + # }; sshd = { enable = true; bind_host = "0.0.0.0"; @@ -77,15 +73,15 @@ in { forgejo = { enable = true; - bind_host = tailscaleIP; + bind_host = "127.0.0.1"; root_url = "ganymede.collinux.tailnet:8010"; }; - headscale = { - enable = true; - root_url = "headscale.williamsfam.us.com"; - caddy.enable = true; - }; + # headscale = { + # enable = true; + # root_url = "headscale.williamsfam.us.com"; + # caddy.enable = true; + # }; }; }; }; |
