anchor.diff:          '';
         };
   
  +      wifi = {
  +        backend = mkOption {
  +          type = types.enum [ "wpa_supplicant" "iwd" ];
  +          default = "wpa_supplicant";
  +          description = ''
  +            Specify the Wi-Fi backend used.
  +            Currently supported are <option>wpa_supplicant</option> or <option>iwd</option>.
  +          '';
  +        };
  +      };
  +
         extraFlags = mkOption {
           type = with types; listOf str;
           default = [ ];
  
positive.code: 
      networking = {
        useDHCP = false;
        wireless.enable = true;
        networkmanager.enable = false;
      };
    };
  
negative.code: 
      ${cfg.extraConfig}
    '';
    enableIwd = cfg.wifi.backend == "iwd";
  in {
  
    imports = [
  