system(steering-wheel): Add module
All checks were successful
check / check (push) Successful in 40s

This commit is contained in:
Florian RICHER 2025-06-18 21:37:49 +02:00
parent 33726bf4c1
commit 312448af7f
Signed by: florian.richer
GPG key ID: C73D37CBED7BFC77
3 changed files with 23 additions and 1 deletions

View file

@ -0,0 +1,20 @@
{ config, lib, ... }:
with lib;
let
cfg = config.modules.system.hardware.steering-wheel;
in
{
options.modules.system.hardware.steering-wheel = {
enable = mkEnableOption ''
Enable steering wheel with my custom configurations
'';
};
config = mkIf cfg.enable {
boot = {
blacklistedKernelModules = [ "hid-thrustmaster" ];
kernelModules = [ "hid-tmff2" ];
extraModulePackages = [ config.boot.kernelPackages.hid-tmff2 ];
};
};
}