mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-05 06:03:15 -06:00
add expressvpn config
This commit is contained in:
parent
d9971c1c9c
commit
8f148db783
1 changed files with 12 additions and 1 deletions
|
@ -5,5 +5,16 @@
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
mkOizysModule config "vpn" {
|
mkOizysModule config "vpn" {
|
||||||
environment.systemPackages = [pkgs.openconnect];
|
environment.systemPackages = with pkgs; [openconnect openvpn];
|
||||||
|
|
||||||
|
services.openvpn.servers = {
|
||||||
|
express-ny = {
|
||||||
|
config = ''
|
||||||
|
config /home/daylin/.config/openvpn/express-ny/config.ovpn
|
||||||
|
auth-user-pass /home/daylin/.config/openvpn/express-ny/credentials
|
||||||
|
'';
|
||||||
|
autoStart = false;
|
||||||
|
updateResolvConf = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue