diff options
| author | Fuwn <[email protected]> | 2024-09-11 17:30:33 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-09-11 17:30:33 -0700 |
| commit | 0084122d039b69fd7bb4b9c6491f105347dede9f (patch) | |
| tree | 8335b0b7e895db37b0d7a930642ed76508b8502a | |
| parent | Bump: flake systems input (diff) | |
| download | nixos-config-0084122d039b69fd7bb4b9c6491f105347dede9f.tar.xz nixos-config-0084122d039b69fd7bb4b9c6491f105347dede9f.zip | |
Bump: i2p and upnp
| -rw-r--r-- | modules/networking/default.nix | 1 | ||||
| -rw-r--r-- | modules/networking/i2p.nix | 10 | ||||
| -rw-r--r-- | modules/networking/upnp.nix | 12 |
3 files changed, 21 insertions, 2 deletions
diff --git a/modules/networking/default.nix b/modules/networking/default.nix index f507ae2..c26099c 100644 --- a/modules/networking/default.nix +++ b/modules/networking/default.nix @@ -12,6 +12,7 @@ ./optimise.nix ./resolved.nix ./tor.nix + ./upnp.nix ]; # https://discourse.nixos.org/t/rebuild-error-failed-to-start-network-manager-wait-online/41977/2 diff --git a/modules/networking/i2p.nix b/modules/networking/i2p.nix index f3fbb13..8bca73e 100644 --- a/modules/networking/i2p.nix +++ b/modules/networking/i2p.nix @@ -22,13 +22,19 @@ enable = true; upnp.enable = true; - bandwidth = 256; + bandwidth = 512; websocket.address = address; yggdrasil.address = address; + reseed.verify = true; proto = { bob.address = address; - i2pControl.address = address; + + i2pControl = { + inherit address; + + enable = true; + }; socksProxy = { inherit address; diff --git a/modules/networking/upnp.nix b/modules/networking/upnp.nix new file mode 100644 index 0000000..998592a --- /dev/null +++ b/modules/networking/upnp.nix @@ -0,0 +1,12 @@ +{ + services.miniupnpd = { + enable = true; + natpmp = true; + externalInterface = "enp42s0"; + + internalIPs = [ + "enp42s0" + "wlan0" + ]; + }; +} |