anchor.diff:      environment.etc = [
         {
           source = ipUpScript;
  -        target = "NetworkManager/dispatcher.d/01nixos-network-online";
  +        target = "NetworkManager/dispatcher.d/01-nixos-network-online";
         }
         {
           source = configFile;
  
positive.code: let
    cfg = config.networking.networkmanager;
  
    # /var/lib/misc is for dnsmasq.leases.
    stateDirs = "/var/lib/NetworkManager /var/lib/dhclient /var/lib/misc";
  
    configFile = pkgs.writeText "NetworkManager.conf" ''
      [main]
  
negative.code:     concatStrings (map (s: "nameserver ${s}\n") xs)
    );
  
    overrideNameserversScript = pkgs.writeScript "02-override-dns" ''
      #!/bin/sh
      tmp=`${pkgs.coreutils}/bin/mktemp`
      ${pkgs.gnused}/bin/sed '/nameserver /d' /etc/resolv.conf > $tmp
  