bluetooth passhtrough for wiimotes

This commit is contained in:
2025-03-12 20:20:32 -06:00
parent 17bce18693
commit d0ffbf48d7
2 changed files with 11 additions and 3 deletions

View File

@@ -1,5 +1,6 @@
{ {
modulesPath, modulesPath,
config,
pkgs, pkgs,
inputs, inputs,
lib, lib,
@@ -10,9 +11,14 @@
(modulesPath + "/installer/scan/not-detected.nix") (modulesPath + "/installer/scan/not-detected.nix")
inputs.ucodenix.nixosModules.default inputs.ucodenix.nixosModules.default
]; ];
services.ucodenix = { services = {
enable = true; udev.extraRules = lib.mkIf config.my.apps.gaming.enable ''
cpuModelId = "00A50F00"; SUBSYSTEM=="usb", ATTRS{idVendor}=="0cf3", ATTRS{idProduct}=="3005", TAG+="uaccess"
'';
ucodenix = {
enable = true;
cpuModelId = "00A50F00";
};
}; };
hardware = { hardware = {
bluetooth = { bluetooth = {

View File

@@ -82,6 +82,8 @@ in
"docker" "docker"
"libvirt" "libvirt"
"rslsync" "rslsync"
"plugdev"
"bluetooth"
]; ];
openssh.authorizedKeys.keyFiles = [ openssh.authorizedKeys.keyFiles = [
./secrets/ssh/ed25519_deacero.pub ./secrets/ssh/ed25519_deacero.pub