summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/deployment/nixos.wiki/network.nix
diff options
context:
space:
mode:
Diffstat (limited to 'makefu/2configs/deployment/nixos.wiki/network.nix')
-rw-r--r--makefu/2configs/deployment/nixos.wiki/network.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/makefu/2configs/deployment/nixos.wiki/network.nix b/makefu/2configs/deployment/nixos.wiki/network.nix
new file mode 100644
index 000000000..a7ffb28f1
--- /dev/null
+++ b/makefu/2configs/deployment/nixos.wiki/network.nix
@@ -0,0 +1,6 @@
+{
+ networking.networkmanager.unmanaged = [ "interface-name:ve-*" ];
+ networking.nat.enable = true;
+ networking.nat.internalInterfaces = ["ve-+"];
+ networking.nat.externalInterface = "wlan0";
+}