diff options
| author | andromeda <andromeda@lenovo> | 2026-01-14 05:31:48 +0100 |
|---|---|---|
| committer | andromeda <andromeda@lenovo> | 2026-01-14 05:31:48 +0100 |
| commit | 6fb816f27c40720dc360cc1434e6df6002731782 (patch) | |
| tree | b8e32202553b56257a1f6091cd76097d0b236f5f /modules/nixos/openvpn-client.nix | |
| parent | c0e92a4ef3e61f4589d32b7b5dc7814a60c99540 (diff) | |
reenable ipv6; reconfigure browser
Diffstat (limited to 'modules/nixos/openvpn-client.nix')
| -rw-r--r-- | modules/nixos/openvpn-client.nix | 9 |
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"]; } |
