bluetooth passhtrough for wiimotes
This commit is contained in:
parent
17bce18693
commit
d0ffbf48d7
@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
modulesPath,
|
modulesPath,
|
||||||
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
inputs,
|
inputs,
|
||||||
lib,
|
lib,
|
||||||
@ -10,10 +11,15 @@
|
|||||||
(modulesPath + "/installer/scan/not-detected.nix")
|
(modulesPath + "/installer/scan/not-detected.nix")
|
||||||
inputs.ucodenix.nixosModules.default
|
inputs.ucodenix.nixosModules.default
|
||||||
];
|
];
|
||||||
services.ucodenix = {
|
services = {
|
||||||
|
udev.extraRules = lib.mkIf config.my.apps.gaming.enable ''
|
||||||
|
SUBSYSTEM=="usb", ATTRS{idVendor}=="0cf3", ATTRS{idProduct}=="3005", TAG+="uaccess"
|
||||||
|
'';
|
||||||
|
ucodenix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
cpuModelId = "00A50F00";
|
cpuModelId = "00A50F00";
|
||||||
};
|
};
|
||||||
|
};
|
||||||
hardware = {
|
hardware = {
|
||||||
bluetooth = {
|
bluetooth = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user