diff --git a/hosts/Vanguard/configuration.nix b/hosts/Vanguard/configuration.nix index 9dc5ddec..3a279036 100644 --- a/hosts/Vanguard/configuration.nix +++ b/hosts/Vanguard/configuration.nix @@ -10,4 +10,20 @@ hardware.opengl.driSupport32Bit = true; hardware.opengl.extraPackages = with pkgs; [amdvlk rocmPackages.clr.icd]; hardware.opengl.extraPackages32 = [pkgs.driversi686Linux.amdvlk]; + networking.wg-quick.interfaces = { + protonvpn = { + address = ["10.2.0.2/32"]; + dns = ["10.2.0.1"]; + privateKeyFile = "/root/wireguard-keys/privatekey"; + peers = [ + { + publicKey = "ic5vxFWQEX5lRVwgx2vfE1xYKXQuwQi1TGDSkR0fsEY="; + # presharedKeyFile = "/root/wireguard-keys/preshared_from_peer0_key"; + allowedIPs = ["0.0.0.0/0"]; + endpoint = "146.70.96.66:51820"; + persistentKeepalive = 25; + } + ]; + }; + }; }