anchor.diff:          Extra packages that provide NetworkManager plugins.
         '';
         merge = mergeListOption;
  -      apply = list: [ pkgs.networkmanager pkgs.modemmanager ] ++ list;
  +      apply = list: [ networkmanager modemmanager wpa_supplicant ] ++ list;
       };
     };
   
  
positive.code:     ResultActive=yes
    '';
  
    ipUpScript = pkgs.writeScript "01nixos-ip-up" ''
      #!/bin/sh
      if test "$2" = "up"; then
        ${config.systemd.package}/bin/systemctl start ip-up.target
  
negative.code: { config, pkgs, ... }:
  
  with pkgs.lib;
  with pkgs;
  
  let
    cfg = config.networking.networkmanager;
  
    stateDirs = "/var/lib/NetworkManager /var/lib/dhclient";
  
    configFile = writeText "NetworkManager.conf" ''
      [main]
      plugins=keyfile
  
  