This commit is contained in:
m3tam3re
2024-09-26 14:45:59 +02:00
parent 78a720e1a3
commit e7ec54ef4f
5 changed files with 67 additions and 8 deletions

View File

@@ -21,7 +21,7 @@
# Enable networking
networking.networkmanager.enable = true;
networking.networkmanager.unmanaged = ["interface-name:ve-*"];
# Set your time zone.
time.timeZone = "Europe/Berlin";
@@ -86,8 +86,10 @@
# networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ];
# Or disable the firewall altogether.
networking.nat.enable = true;
networking.nat.internalInterfaces = ["ve-+"];
networking.nat.externalInterface = "enp1s0";
# networking.firewall.enable = false;
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave