mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2024-11-22 20:59:32 -08:00
26 lines
468 B
Nix
26 lines
468 B
Nix
{ config, ...}:
|
|
|
|
let
|
|
in
|
|
{
|
|
services.protonvpn = {
|
|
enable = true;
|
|
autostart = false;
|
|
interface = {
|
|
name = "protonvpn";
|
|
ip = "10.2.0.2/32";
|
|
port = 51820;
|
|
privateKeyFile = "/home/nixolas/.passfiles/protonvpn";
|
|
dns = {
|
|
enable = true;
|
|
ip = "10.2.0.1";
|
|
};
|
|
};
|
|
endpoint = {
|
|
publicKey = "yB6ySO0kjqbgVWanDYKDgWoAMwM3X//nBiKXwaqmiwU=";
|
|
ip = "89.187.180.55";
|
|
port = 51820;
|
|
};
|
|
};
|
|
|
|
}
|