summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/prefect.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/system/prefect.nix b/system/prefect.nix
index 912e0828..789e6c9e 100644
--- a/system/prefect.nix
+++ b/system/prefect.nix
@@ -65,7 +65,11 @@
       host    all             all             samenet                 md5
     '';
   };
+  networking.useDHCP = false;
   networking.firewall.allowedTCPPorts = [ config.services.postgresql.port ];
+  networking.interfaces.enp6s0 = {
+    useDHCP = true;
+  };
 
   networking.firewall.extraCommands = ''
     iptables  -A nixos-fw -p udp --source 172.30.44.0/24       -j nixos-fw-accept