anchor.diff:          "ctrl_interface_group=${cfg.userControlled.group}"
           "update_config=1"
         ])
  +    ++ optional cfg.scanOnLowSignal ''bgscan="simple:30:-70:3600"''
       ++ optional (cfg.extraConfig != "") cfg.extraConfig);
   
     configFile =
  
positive.code:               '';
              };
  
              auth = mkOption {
                type = types.nullOr types.str;
                default = null;
                example = ''
                  key_mgmt=WPA-EAP
                  eap=PEAP
                  identity="user@example.com"
                  password="secret"
  
negative.code: 
      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) "psk=${pskString}"
        ++ optionals (opts.auth != null) (filter (x: x != "") (splitString "\n" opts.auth))
        ++ optional (opts.priority != null) "priority=${toString opts.priority}"
  