summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/nixos/openvpn-client.nix9
1 files changed, 6 insertions, 3 deletions
diff --git a/modules/nixos/openvpn-client.nix b/modules/nixos/openvpn-client.nix
index 1ba8571..c68130f 100644
--- a/modules/nixos/openvpn-client.nix
+++ b/modules/nixos/openvpn-client.nix
@@ -1,8 +1,11 @@
-{lib, ...}: {
+{
services.openvpn.servers = {
"173.249.5.230" = {config = ''config /etc/openvpn-confs/173.249.5.230.ovpn'';};
};
- networking.enableIPv6 = lib.mkForce false;
environment.persistence."/persist".directories = ["/etc/openvpn-confs"];
- boot.kernelParams = ["ipv6.disable=1"];
+
+ # 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"];
}