nixos/new-lg4ff: respect enable option

This commit is contained in:
lom 2022-06-01 15:07:24 -06:00
parent 415978df5f
commit ec9204d732

View file

@ -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" ];