diff --git a/nixy/configuration.nix b/nixy/configuration.nix index 070d1cc..d700c54 100644 --- a/nixy/configuration.nix +++ b/nixy/configuration.nix @@ -151,6 +151,19 @@ } ]; }; + + neox_wg = { + ips = ["192.168.51.2/32"]; + privateKeyFile = config.sops.secrets."wg_privkey".path; + peers = [ + { + publicKey = builtins.readFile ../nixy/wg_pubkey_nx; + allowedIPs = ["192.168.2.0/24"]; + endpoint = "185.194.64.26:51820"; + persistentKeepalive = 25; + } + ]; + }; }; };