Merge pull request #164869 from SuperSamus/joycond
This commit is contained in:
commit
cda1da9930
1 changed files with 2 additions and 6 deletions
|
@ -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 ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue