diff options
| author | Fuwn <[email protected]> | 2024-09-11 03:34:29 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-09-11 03:34:39 -0700 |
| commit | b84cc156236ecd4fbe0c9d458e46078df625cb47 (patch) | |
| tree | 18d5355ef83ebe992074a5cbff14f393b8481b67 /modules/software/networking/vpn | |
| parent | Bump: i2p (diff) | |
| download | nixos-config-b84cc156236ecd4fbe0c9d458e46078df625cb47.tar.xz nixos-config-b84cc156236ecd4fbe0c9d458e46078df625cb47.zip | |
Bump: move networking module
Diffstat (limited to 'modules/software/networking/vpn')
| -rw-r--r-- | modules/software/networking/vpn/default.nix | 6 | ||||
| -rw-r--r-- | modules/software/networking/vpn/pia.nix | 10 | ||||
| -rw-r--r-- | modules/software/networking/vpn/tailscale.nix | 15 |
3 files changed, 0 insertions, 31 deletions
diff --git a/modules/software/networking/vpn/default.nix b/modules/software/networking/vpn/default.nix deleted file mode 100644 index 92a11b0..0000000 --- a/modules/software/networking/vpn/default.nix +++ /dev/null @@ -1,6 +0,0 @@ -{ - imports = [ - ./pia.nix - ./tailscale.nix - ]; -} diff --git a/modules/software/networking/vpn/pia.nix b/modules/software/networking/vpn/pia.nix deleted file mode 100644 index d52dbf8..0000000 --- a/modules/software/networking/vpn/pia.nix +++ /dev/null @@ -1,10 +0,0 @@ -{ secrets, ... }: -{ - services.pia = { - enable = true; - - authUserPass = { - inherit (secrets.pia) username password; - }; - }; -} diff --git a/modules/software/networking/vpn/tailscale.nix b/modules/software/networking/vpn/tailscale.nix deleted file mode 100644 index 21f471a..0000000 --- a/modules/software/networking/vpn/tailscale.nix +++ /dev/null @@ -1,15 +0,0 @@ -{ config, ... }: -{ - networking.firewall.trustedInterfaces = [ "${config.services.tailscale.interfaceName}" ]; - - services.tailscale = { - enable = true; - useRoutingFeatures = "both"; - }; - - # <https://tailscale.com/kb/1019/subnets/?tab=linux#step-1-install-the-tailscale-client> - boot.kernel.sysctl = { - "net.ipv4.ip_forward" = true; - "net.ipv6.conf.all.forwarding" = true; - }; -} |