12 lines
450 B
Nix
12 lines
450 B
Nix
{
|
|
services.openvpn.servers = {
|
|
"173.249.5.230" = {config = ''config /etc/openvpn-confs/173.249.5.230.ovpn'';};
|
|
};
|
|
environment.persistence."/persist".directories = ["/etc/openvpn-confs"];
|
|
|
|
# turns out disabling ipv6 is a bad idea; I'm just going to enable v6 on the remote xD
|
|
# networking.enableIPv6 = lib.mkForce false;
|
|
# workaround; NetworkManager reenables ipv6 without the following
|
|
# boot.kernelParams = ["ipv6.disable=1"];
|
|
}
|