bluetooth passhtrough for wiimotes

This commit is contained in:
Danilo Reyes 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,
config,
pkgs,
inputs,
lib,
@ -10,9 +11,14 @@
(modulesPath + "/installer/scan/not-detected.nix")
inputs.ucodenix.nixosModules.default
];
services.ucodenix = {
enable = true;
cpuModelId = "00A50F00";
services = {
udev.extraRules = lib.mkIf config.my.apps.gaming.enable ''
SUBSYSTEM=="usb", ATTRS{idVendor}=="0cf3", ATTRS{idProduct}=="3005", TAG+="uaccess"
'';
ucodenix = {
enable = true;
cpuModelId = "00A50F00";
};
};
hardware = {
bluetooth = {

View File

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