From 14f5e96f7e0e7f1c443fed45dedc890dd91a88e3 Mon Sep 17 00:00:00 2001 From: Erik Simon Date: Thu, 8 Oct 2026 23:15:30 +0200 Subject: [PATCH] chore: bump flake inputs Co-Authored-By: Claude Opus 5.5 --- flake.lock | 100 +++++++++++++++---------------- services/dev/turtle-beach-re.nix | 23 +++++++ 2 files changed, 73 insertions(+), 50 deletions(-) create mode 100644 services/dev/turtle-beach-re.nix diff --git a/flake.lock b/flake.lock index 1e2b841..7fc1719 100644 --- a/flake.lock +++ b/flake.lock @@ -14,11 +14,11 @@ "uv2nix": "uv2nix" }, "locked": { - "lastModified": 1789888175, - "narHash": "sha256-BWzpZ0/HChcL8F2+hl0GoPaIsWBprMrReeOfrhLSk5o=", + "lastModified": 1791302736, + "narHash": "sha256-tCRzA3QXMibbn2HiKALY4RdaPdvE15WomUfiFEYyjGg=", "owner": "nix-community", "repo": "authentik-nix", - "rev": "477392e1a239228de9a8011786cf673dfbb78c75", + "rev": "d3f9d036c8f3b6202bd69814577967eb09e410ee", "type": "github" }, "original": { @@ -101,11 +101,11 @@ "nixpkgs-lib": "nixpkgs-lib" }, "locked": { - "lastModified": 1788450739, - "narHash": "sha256-glZLQlzIn1fXH6PazR2iUmTo7kzzyYSshrWhLS9TqCU=", + "lastModified": 1790898470, + "narHash": "sha256-zTwuwezD0w3hpga6a6P8emidzAZFyWqlNeRBlpWOOl8=", "owner": "hercules-ci", "repo": "flake-parts", - "rev": "31729ca8cbdb4fa927b34e5f4353e6a83f39e993", + "rev": "024633cd702b10285db5cb19b40ad48d2399ba60", "type": "github" }, "original": { @@ -142,11 +142,11 @@ ] }, "locked": { - "lastModified": 1790742243, - "narHash": "sha256-kaNo6xHiL31AbNNEreG0OTKf4j6Cxlo5bPawjX7lnbQ=", + "lastModified": 1790996401, + "narHash": "sha256-f+kOxEmOUnQazVAmGg0i8hzwgd1kX/geY+k/Dpheye8=", "owner": "nix-community", "repo": "home-manager", - "rev": "e5fcd298a00f08b6e8390baf04aa8edb62203070", + "rev": "db7d5e2332710f5abb088f6b5de927d7f9511b35", "type": "github" }, "original": { @@ -199,11 +199,11 @@ "livesync-bridge": { "flake": false, "locked": { - "lastModified": 1787571662, - "narHash": "sha256-btLnQNbFzCPaSVcY9rtiPdYeXrZjoK9AYvfA9+ovsIc=", + "lastModified": 1791189215, + "narHash": "sha256-CjAU2ThV33M86mHbf+9YfIsAgPymmj9VGd+bNV7fXpc=", "owner": "vrtmrz", "repo": "livesync-bridge", - "rev": "c3760beaa0851214da4860903445d7f6420ca025", + "rev": "5645cf6a74e863ccc29bc2e9dedef1c4941e096b", "type": "github" }, "original": { @@ -306,11 +306,11 @@ "treefmt-nix": "treefmt-nix" }, "locked": { - "lastModified": 1790753087, - "narHash": "sha256-8qbcLsWajUJ316g6H1lLKnjxO/Ni+hnjbnw4fqTB4SE=", + "lastModified": 1791357754, + "narHash": "sha256-Ux5asuuHjDEq7Z12g99g6Nt4Vu4WByPHASMUGTDjAU0=", "owner": "nix-community", "repo": "nixos-anywhere", - "rev": "3c6e0cc24fbc69b97a22cf09bb6ca361354e0490", + "rev": "b6be7b277b468d55082584441cbef1fed8530eb3", "type": "github" }, "original": { @@ -327,11 +327,11 @@ "nixos-unstable": "nixos-unstable" }, "locked": { - "lastModified": 1790246259, - "narHash": "sha256-tIsExtl9e4G0S4r4OhJe9v/zv89/N+gvh+evAcgO6mk=", + "lastModified": 1791456080, + "narHash": "sha256-VDnm81L/1YLrPklNacGCNwpPhHi5Tya1XbfdnCB/Zd0=", "owner": "nix-community", "repo": "nixos-images", - "rev": "079349fa2e5bbb103eb0226cb27915cf1c0d6f05", + "rev": "50939ddf1a0339f289a9dbd810bdfd4e4fba6df4", "type": "github" }, "original": { @@ -359,11 +359,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1789546076, - "narHash": "sha256-zVxLZiSnmaaPLwnhj7pwmqe3axBg/C6nG5JZsJMh2g4=", + "lastModified": 1790822859, + "narHash": "sha256-69xHQhAeMAD2wDXO7T2pcOZIF9Sga2W+JkmY2a11Ops=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "b1b875982b17dabde9b4a37f3e229e74913e6db3", + "rev": "c59305bab2065cfecc4944690d9eedbb56f3a9fa", "type": "github" }, "original": { @@ -375,11 +375,11 @@ }, "nixpkgs-lib": { "locked": { - "lastModified": 1788057806, - "narHash": "sha256-DTQSMxzDWmT0zhguthvegnVkn7CFqGCv4IHCzk5ZUpM=", + "lastModified": 1790477367, + "narHash": "sha256-oujbxmVKDhci2E4EM3KyAbRUgp5/IsCoiA/LfEF7OOk=", "owner": "nix-community", "repo": "nixpkgs.lib", - "rev": "596e2e3940e09b2abbeb03f75fa1828c57fcd72c", + "rev": "f7cd230690d9fc982d06129f9189b101fddcfa3b", "type": "github" }, "original": { @@ -390,11 +390,11 @@ }, "nixpkgs-unstable": { "locked": { - "lastModified": 1790652569, - "narHash": "sha256-641r7xrlSOHYoktL9/aArPIYNgZJ9eM5URzSEOtPJDY=", + "lastModified": 1791366222, + "narHash": "sha256-o0N4g6uSOIppU7CGToNvGlMf5vC+B6O6ukFHKY/TKOY=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "b6c8664de9b6cc07fe5666a29f91884ba81197c4", + "rev": "39ad350a0602fa0a58a544344e3e9187526ea45c", "type": "github" }, "original": { @@ -406,11 +406,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1790635395, - "narHash": "sha256-bNyvoIyOCu7lzoCpWKWGIsHpTtERUWzqYWFPlN++WTw=", + "lastModified": 1791426274, + "narHash": "sha256-MWhktfFtFE8Jl7bf9Pkp7TR5MSdYCjCswSo0Gkb4ywc=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "7fc6f2c20af09cdcaf48b92ec3121860139ec668", + "rev": "7c8764b7c7b09b34f632464276218ef9090eaa11", "type": "github" }, "original": { @@ -436,11 +436,11 @@ ] }, "locked": { - "lastModified": 1786936886, - "narHash": "sha256-8SFyOdmcG6Nsh/JzlH812lTI/v+ur06fpQhj/acNn8k=", + "lastModified": 1790565003, + "narHash": "sha256-q4W45pwcae0gK41vxzqfmXOnODGKfduLJJdraPHYXcY=", "owner": "pyproject-nix", "repo": "build-system-pkgs", - "rev": "90ffdeee1a4929b231913df067448cd9803d3e07", + "rev": "c84c47bba26ea303eaefc137ab48307fe57a1be1", "type": "github" }, "original": { @@ -486,11 +486,11 @@ ] }, "locked": { - "lastModified": 1786031528, - "narHash": "sha256-cROiHKO3UbIKqF5FG5NikvydzlfIj4EcR1Cty9qOVt4=", + "lastModified": 1788394333, + "narHash": "sha256-xYOP0Xym1eVGUaHFx+eJEaycFGoiCbst3fZf0xFHP78=", "owner": "pyproject-nix", "repo": "pyproject.nix", - "rev": "1b1485546d85f6f6c7aadb10c4923dbc09633263", + "rev": "6a8a7881d75b6f98967e7b8069f4ead331384301", "type": "github" }, "original": { @@ -545,11 +545,11 @@ ] }, "locked": { - "lastModified": 1790498116, - "narHash": "sha256-rs9meAYxW3zzrh43yaW7htrqCD+X9+pupDPHN86fumI=", + "lastModified": 1791103873, + "narHash": "sha256-nFxM+pKoZ8LJAEnUXARyCaOAloWgaW9kZQOSjWzKcTE=", "owner": "Mic92", "repo": "sops-nix", - "rev": "5efb5a6f4f5ab192817d28557dd4d650fa14d866", + "rev": "dcd241ba97088c22569d1573286e1b9daad340c0", "type": "github" }, "original": { @@ -560,16 +560,16 @@ }, "systems": { "locked": { - "lastModified": 1680978846, - "narHash": "sha256-Gtqg8b/v49BFDpDetjclCYXm8mAnTrUzR0JnE2nv5aw=", + "lastModified": 1689347949, + "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=", "owner": "nix-systems", - "repo": "x86_64-linux", - "rev": "2ecfcac5e15790ba6ce360ceccddb15ad16d08a8", + "repo": "default-linux", + "rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68", "type": "github" }, "original": { "owner": "nix-systems", - "repo": "x86_64-linux", + "repo": "default-linux", "type": "github" } }, @@ -597,11 +597,11 @@ ] }, "locked": { - "lastModified": 1786901030, - "narHash": "sha256-WSFCsDSE5ffgD2MqzkM2CYjeFiKhRF/dJUN8uedb6YE=", + "lastModified": 1790542030, + "narHash": "sha256-U6m0B5+ALyOLYG4OVvtguLdem7iYgN6cIP5Q1RhM+g8=", "owner": "numtide", "repo": "treefmt-nix", - "rev": "27b3b12a8e6375f28ebe122f07d230ca5459bbfa", + "rev": "6aca3b3649eb1edf472eca3e91e6bcc0c84a6ad3", "type": "github" }, "original": { @@ -622,11 +622,11 @@ ] }, "locked": { - "lastModified": 1788001239, - "narHash": "sha256-AELmsXPI546MhbC/ZXC7WRUkCz7d4rqKTHUmliIgPpI=", + "lastModified": 1790341335, + "narHash": "sha256-wFnDm/o/4OebDlpGFyVXP8DLUx0/gR/jUFuGqmTwsQg=", "owner": "pyproject-nix", "repo": "uv2nix", - "rev": "7f9c6b613d2e749e54854b1d60ab6a2192db889e", + "rev": "a24323e9e6ecbbf305c238845ff6c612d50467c0", "type": "github" }, "original": { diff --git a/services/dev/turtle-beach-re.nix b/services/dev/turtle-beach-re.nix new file mode 100644 index 0000000..19c7444 --- /dev/null +++ b/services/dev/turtle-beach-re.nix @@ -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" + '') + ]; +}