nixos/new-lg4ff: respect enable option
This commit is contained in:
parent
415978df5f
commit
ec9204d732
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