Add ProtonVPN wireguard config
This commit is contained in:
parent
e773934b19
commit
9e99d4c60b
|
@ -10,4 +10,20 @@
|
||||||
hardware.opengl.driSupport32Bit = true;
|
hardware.opengl.driSupport32Bit = true;
|
||||||
hardware.opengl.extraPackages = with pkgs; [amdvlk rocmPackages.clr.icd];
|
hardware.opengl.extraPackages = with pkgs; [amdvlk rocmPackages.clr.icd];
|
||||||
hardware.opengl.extraPackages32 = [pkgs.driversi686Linux.amdvlk];
|
hardware.opengl.extraPackages32 = [pkgs.driversi686Linux.amdvlk];
|
||||||
|
networking.wg-quick.interfaces = {
|
||||||
|
wg0 = {
|
||||||
|
address = ["10.2.0.2/32"];
|
||||||
|
dns = ["10.2.0.1"];
|
||||||
|
privateKeyFile = "/root/wireguard-keys/privatekey";
|
||||||
|
peers = [
|
||||||
|
{
|
||||||
|
publicKey = "uIYz5QpWqSNGRSJw0m4Py3eHR1dXQPb95sIKV8KaEC4=";
|
||||||
|
# presharedKeyFile = "/root/wireguard-keys/preshared_from_peer0_key";
|
||||||
|
allowedIPs = ["0.0.0.0/0"];
|
||||||
|
endpoint = "154.47.24.193:51820";
|
||||||
|
persistentKeepalive = 25;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue