anchor.diff:    # /var/lib/misc is for dnsmasq.leases.
     stateDirs = "/var/lib/NetworkManager /var/lib/dhclient /var/lib/misc";
   
  -  configFile = writeText "NetworkManager.conf" ''
  +  configFile = pkgs.writeText "NetworkManager.conf" ''
       [main]
       plugins=keyfile
       dhcp=${cfg.dhcp}
  
positive.code: { config, lib, pkgs, ... }:
  
  with pkgs;
  with lib;
  
  let
  
negative.code:       # Ugly hack for using the correct gnome3 packageSet
        basePackages = mkOption {
          type = types.attrsOf types.package;
          default = { inherit (pkgs)
                              networkmanager modemmanager wpa_supplicant
                              networkmanager-openvpn networkmanager-vpnc
                              networkmanager-openconnect networkmanager-fortisslvpn
                              networkmanager-l2tp networkmanager-iodine; };
  