1 { pkgs, lib, config, ... }:
6 cfg = config.hardware.new-lg4ff;
7 kernelPackages = config.boot.kernelPackages;
9 options.hardware.new-lg4ff = {
13 description = lib.mdDoc ''
14 Enables improved Linux module drivers for Logitech driving wheels.
15 This will replace the existing in-kernel hid-logitech modules.
16 Works most notably on the Logitech G25, G27, G29 and Driving Force (GT).
21 config = lib.mkIf cfg.enable {
23 extraModulePackages = [ kernelPackages.new-lg4ff ];
24 kernelModules = [ "hid-logitech-new" ];
28 meta.maintainers = with lib.maintainers; [ matthiasbenaets ];