all repos — nixfiles @ 5c839daa8456e3c9b9451022047c6aee905108fa

System and user configuration, managed by nix and home-manager

prefect: migrate from deprecated networking.useDHCP

Alan Pearce
commit

5c839daa8456e3c9b9451022047c6aee905108fa

parent

10d3aaa8147a50e3b0496c560596e7f98d199ed5

1 file changed, 4 insertions(+), 0 deletions(-)

jump to
M system/prefect.nixsystem/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