Merge pull request #175837 from legendofmiracles/lg4ff-enable

nixos/new-lg4ff: respect enable option
This commit is contained in:
legendofmiracles 2022-06-01 15:14:11 -06:00 committed by GitHub
commit ec7bb1bc03
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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