anchor.diff:        }
       ] ++ lib.imap (i: s: {
           text = s.source;
  -        target = "NetworkManager/dispatcher.d/${dispatcherTypesSubdirMap.${s.type}}03-userscript${lib.fixedWidthNumber 4 i}";
  +        target = "NetworkManager/dispatcher.d/"
  +          + "${dispatcherTypesSubdirMap.${s.type}}03-userscript${lib.fixedWidthNumber 4 i}";
         }) cfg.dispatcherScripts;
   
       environment.systemPackages = cfg.packages;
  
positive.code: 
      assertions = [{
        assertion = config.networking.wireless.enable == false;
        message = "You can not use networking.networkmanager with services.networking.wireless";
      }];
  
      boot.kernelModules = [
  
negative.code:     tmp=`${pkgs.coreutils}/bin/mktemp`
      ${pkgs.gnused}/bin/sed '/nameserver /d' /etc/resolv.conf > $tmp
      ${pkgs.gnugrep}/bin/grep 'nameserver ' /etc/resolv.conf | \
        ${pkgs.gnugrep}/bin/grep -vf \
          ${ns (cfg.appendNameservers ++ cfg.insertNameservers)} > $tmp.ns
      ${optionalString (cfg.appendNameservers != [])
        "${pkgs.coreutils}/bin/cat $tmp $tmp.ns ${ns cfg.appendNameservers} \
          > /etc/resolv.conf"}
      ${optionalString (cfg.insertNameservers != [])
        "${pkgs.coreutils}/bin/cat $tmp ${ns cfg.insertNameservers} $tmp.ns \
          > /etc/resolv.conf"}
      ${pkgs.coreutils}/bin/rm -f $tmp $tmp.ns
    '';
  
  