blob: b227eff5fb3c44bd91a9ddd46cdd9e0f35e562ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
{ lib, config, ... }:
let
cfg = config.hardware.hid-fanatecff;
inherit (config.boot.kernelPackages) hid-fanatecff;
inherit (lib) maintainers mkEnableOption mkIf;
in
{
options.hardware.hid-fanatecff = {
enable = mkEnableOption "hid-fanatecff, a Linux kernel driver that aims to add support for Fanatec devices";
};
config = mkIf cfg.enable {
boot.extraModulePackages = [ hid-fanatecff ];
services.udev.packages = [ hid-fanatecff ];
};
meta.maintainers = with maintainers; [ rake5k ];
}
|