add expressvpn config

This commit is contained in:
Daylin Morgan 2024-05-03 12:39:20 -05:00
parent d9971c1c9c
commit 8f148db783
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -5,5 +5,16 @@
...
}:
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;
};
};
}