anchor.diff:    inherit (pkgs) nettools;
   
     cfg = config.networking;
  +
  +  ifconfig = "${nettools}/sbin/ifconfig";
   
   in 
   
  
positive.code: 
              for i in $(cd /sys/class/net && ls -d *); do
                  echo "Bringing up network device $i..."
                  ${nettools}/sbin/ifconfig $i up || true
              done
  
              # Configure the manually specified interfaces.
  
negative.code:                   if test -n "${i.subnetMask}"; then
                        extraFlags="$extraFlags netmask ${i.subnetMask}"
                    fi
                    ${ifconfig} "${i.name}" "${i.ipAddress}" $extraFlags || true
                  ''
                else "") cfg.interfaces}
  
  