1 { config, lib, pkgs, ... }:
3 cfg = config.hardware.xone;
6 options.hardware.xone = {
7 enable = lib.mkEnableOption "the xone driver for Xbox One and Xbox Series X|S accessories";
10 config = lib.mkIf cfg.enable {
12 blacklistedKernelModules = [ "xpad" "mt76x2u" ];
13 extraModulePackages = with config.boot.kernelPackages; [ xone ];
15 hardware.firmware = [ pkgs.xow_dongle-firmware ];
19 maintainers = with lib.maintainers; [ rhysmdnz ];