mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
15 lines
338 B
Nix
15 lines
338 B
Nix
|
{ config, lib, pkgs, ... }:
|
||
|
let
|
||
|
cfg = config.sconfig.new-lg4ff;
|
||
|
in
|
||
|
{
|
||
|
options.sconfig.new-lg4ff.enable = lib.mkEnableOption "Enable new-lg4ff";
|
||
|
|
||
|
config = lib.mkIf cfg.enable {
|
||
|
boot.kernelModules = [ "hid-logitech-new" ];
|
||
|
boot.extraModulePackages = [
|
||
|
(config.boot.kernelPackages.callPackage ./pkg.nix { })
|
||
|
];
|
||
|
};
|
||
|
}
|