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