games: Blacklist hid_nintendo

It does not work with my 8BitDo Pro 2. Disabling the kernel module makes
it work with SDL’s hidraw driver.
nazuna
Simon Bruder 2022-08-13 11:47:10 +02:00
parent 7471719ef2
commit 6211ea6005
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
1 changed files with 5 additions and 1 deletions

View File

@ -19,5 +19,9 @@ in
default = 1;
};
};
config = lib.mkIf cfg.enable { };
config = lib.mkIf cfg.enable {
boot.blacklistedKernelModules = [
"hid_nintendo"
];
};
}