Merge pull request #164869 from SuperSamus/joycond

This commit is contained in:
Sandro 2022-03-29 18:53:49 +02:00 committed by GitHub
commit cda1da9930
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,13 +22,9 @@ with lib;
};
config = mkIf cfg.enable {
environment.systemPackages = [
kernelPackages.hid-nintendo
cfg.package
];
environment.systemPackages = [ cfg.package ];
boot.extraModulePackages = [ kernelPackages.hid-nintendo ];
boot.kernelModules = [ "hid_nintendo" ];
boot.extraModulePackages = optional (versionOlder kernelPackages.kernel.version "5.16") kernelPackages.hid-nintendo;
services.udev.packages = [ cfg.package ];