{ pkgs, lib, config, nodes, ... }: { networking = { interfaces.enp1s0.useDHCP = true; #interfaces.enp2s0.useDHCP = true; #interfaces.enp3s0.useDHCP = true; }; } // lib.mkIf (builtins.hasAttr "mermet" nodes) { deployment.targetHost = "1.2.3.4"; }