anchor.diff:  
       options = [
         "ssid=${quote ssid}"
  +      (if pskString != null || opts.auth != null
  +        then "key_mgmt=${concatStringsSep " " opts.authProtocols}"
  +        else "key_mgmt=NONE")
       ] ++ optional opts.hidden "scan_ssid=1"
  -      ++ optional (pskString == null && opts.auth == null) "key_mgmt=NONE"
         ++ optional (pskString != null) "psk=${pskString}"
         ++ optionals (opts.auth != null) (filter (x: x != "") (splitString "\n" opts.auth))
         ++ optional (opts.priority != null) "priority=${toString opts.priority}"
  
positive.code:           <xref linkend="opt-networking.wireless.networks" />.
  
            Please note that this adds a custom patch to <package>wpa_supplicant</package>.
          '';
        };
  
  
negative.code:         "ctrl_interface_group=${cfg.userControlled.group}"
          "update_config=1"
        ])
      ++ optional cfg.scanOnLowSignal ''bgscan="simple:30:-70:3600"''
      ++ optional (cfg.extraConfig != "") cfg.extraConfig);
  
    configFile =
  