chore: bump flake inputs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
# Host permissions for reverse engineering Turtle Beach Swarm II devices
|
||||
# (/mnt/hdd_01/data/Dev/repos/turtle-beach-swarm-re/nixos/turtle-beach-re.nix).
|
||||
{
|
||||
# USB traffic capture (/dev/usbmonN), readable by the 'wireshark' group
|
||||
boot.kernelModules = [ "usbmon" ];
|
||||
programs.wireshark = {
|
||||
enable = true;
|
||||
usbmon.enable = true;
|
||||
};
|
||||
users.users.darman.extraGroups = [ "wireshark" ];
|
||||
|
||||
# Turtle Beach / ROCCAT devices (vendor 10f5): give the logged-in user access to
|
||||
# the raw USB device (QEMU passthrough) and hidraw nodes (our own tools).
|
||||
# Must sort before 73-seat-late.rules for uaccess to apply, hence not extraRules.
|
||||
services.udev.packages = [
|
||||
(pkgs.writeTextDir "lib/udev/rules.d/70-turtle-beach.rules" ''
|
||||
SUBSYSTEM=="usb", ATTR{idVendor}=="10f5", TAG+="uaccess"
|
||||
KERNEL=="hidraw*", ATTRS{idVendor}=="10f5", TAG+="uaccess"
|
||||
'')
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user