From c303524a359d2be84d825acebbf8d7e2ddd8f24a Mon Sep 17 00:00:00 2001 From: Collin Williams <96917990+bluedragon1221@users.noreply.github.com> Date: Fri, 27 Feb 2026 07:57:56 -0600 Subject: refactor network config, add wireguard connection to vps --- hosts/ganymede/config.nix | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'hosts/ganymede/config.nix') diff --git a/hosts/ganymede/config.nix b/hosts/ganymede/config.nix index db684ae..3f8c6e4 100644 --- a/hosts/ganymede/config.nix +++ b/hosts/ganymede/config.nix @@ -18,6 +18,10 @@ file = ./collin-forgejo-password.age; owner = "forgejo"; }; + "wireguard-pk" = { + file = ./wireguard-pk.age; + owner = "root"; + }; }; terminal = { @@ -33,13 +37,11 @@ }; system.network = { - networkd = { - enable = true; - static = { - ip = "192.168.50.2/24"; - gateway = "192.168.50.1"; - }; - + static = { + ip = "192.168.50.2/24"; + gateway = "192.168.50.1"; + }; + wireless.static = { ssid = "williams"; pskFile = config.collinux.secrets."williams-psk".path; }; -- cgit v1.3.1