2024-01-23 19:13:42 -06:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
pkgs,
|
2024-03-21 15:59:10 -05:00
|
|
|
mkOizysModule,
|
2024-01-23 19:13:42 -06:00
|
|
|
...
|
2024-03-21 15:59:10 -05:00
|
|
|
}:
|
|
|
|
mkOizysModule config "vpn" {
|
2024-05-06 14:32:00 -05:00
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
openconnect
|
|
|
|
openvpn
|
|
|
|
];
|
2024-05-03 12:39:20 -05:00
|
|
|
|
|
|
|
services.openvpn.servers = {
|
2024-07-18 09:28:37 -05:00
|
|
|
# subscription expired
|
|
|
|
# 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;
|
|
|
|
# };
|
|
|
|
#
|
2024-08-13 10:34:23 -05:00
|
|
|
|
2024-07-18 09:28:37 -05:00
|
|
|
mullvad-chi = {
|
2024-05-03 12:39:20 -05:00
|
|
|
config = ''
|
2024-07-18 09:28:37 -05:00
|
|
|
config /home/daylin/.config/openvpn/mullvad-chi/mullvad_us_chi.conf
|
2024-05-03 12:39:20 -05:00
|
|
|
'';
|
|
|
|
autoStart = false;
|
|
|
|
updateResolvConf = true;
|
|
|
|
};
|
2024-05-03 10:51:57 -05:00
|
|
|
};
|
2024-07-18 09:28:37 -05:00
|
|
|
|
2024-03-21 15:59:10 -05:00
|
|
|
}
|