Merge pull request #175837 from legendofmiracles/lg4ff-enable
nixos/new-lg4ff: respect enable option
This commit is contained in:
commit
ec7bb1bc03
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
config = {
|
config = lib.mkIf cfg.enable {
|
||||||
boot = {
|
boot = {
|
||||||
extraModulePackages = [ pkgs.new-lg4ff ];
|
extraModulePackages = [ pkgs.new-lg4ff ];
|
||||||
kernelModules = [ "hid-logitech-new" ];
|
kernelModules = [ "hid-logitech-new" ];
|
||||||
|
|
Loading…
Reference in a new issue