prefect: migrate from deprecated networking.useDHCP
Alan Pearce alan@alanpearce.eu
Wed, 06 Jan 2021 17:43:01 +0100
1 files changed, 4 insertions(+), 0 deletions(-)
jump to
M system/prefect.nix → system/prefect.nix
@@ -65,7 +65,11 @@ # TYPE DATABASE USER ADDRESS METHOD 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