From 5c839daa8456e3c9b9451022047c6aee905108fa Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 6 Jan 2021 17:43:01 +0100 Subject: prefect: migrate from deprecated networking.useDHCP --- system/prefect.nix | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit 1.4.1