diff options
| author | Fuwn <[email protected]> | 2024-09-22 14:48:17 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-09-22 14:48:17 -0700 |
| commit | ea494e9d76a76363ac9b652dc758f3daf1d499b6 (patch) | |
| tree | 5b001e6a60f7e013e1cd6e04ade31117236cd185 /modules/desktop/networking/upnp.nix | |
| parent | tailscale: authenticate on all systems (diff) | |
| download | nixos-config-ea494e9d76a76363ac9b652dc758f3daf1d499b6.tar.xz nixos-config-ea494e9d76a76363ac9b652dc758f3daf1d499b6.zip | |
modules: move desktop networking to desktop
Diffstat (limited to 'modules/desktop/networking/upnp.nix')
| -rw-r--r-- | modules/desktop/networking/upnp.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/desktop/networking/upnp.nix b/modules/desktop/networking/upnp.nix new file mode 100644 index 0000000..998592a --- /dev/null +++ b/modules/desktop/networking/upnp.nix @@ -0,0 +1,12 @@ +{ + services.miniupnpd = { + enable = true; + natpmp = true; + externalInterface = "enp42s0"; + + internalIPs = [ + "enp42s0" + "wlan0" + ]; + }; +} |