summaryrefslogtreecommitdiff
path: root/modules/nixos/openvpn-client.nix
blob: c68130f7c8a319561c5ba0c47ed2d05bd638dfed (plain)
1
2
3
4
5
6
7
8
9
10
11
{
  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"];
}