summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-28 03:18:29 +0000
committertv <tv@krebsco.de>2026-11-28 04:37:07 +0100
commit69f6770a61f5346131075f098d8000e65ae7085d (patch)
treeddc3693baee21b4697460f4991efa80a0030254d
parent08d7809d826c86195de26b8eb7837e6e4616fc9b (diff)
zu: let plugdev use Logitech devices
-rw-r--r--systems/zu/config.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/systems/zu/config.nix b/systems/zu/config.nix
index f1aae17b..a16ac720 100644
--- a/systems/zu/config.nix
+++ b/systems/zu/config.nix
@@ -72,6 +72,11 @@
#services.tor.client.enable = true;
#services.tor.enable = true;
+ # Logitech devices
+ services.udev.extraRules = /* sh */ ''
+ SUBSYSTEM=="hidraw", KERNEL=="hidraw*", DRIVERS=="logitech-hidpp-device", GROUP="plugdev", MODE="0660"
+ '';
+
# The NixOS release to be compatible with for stateful data such as databases.
system.stateVersion = "15.09";
@@ -79,4 +84,6 @@
matchConfig.Name = "eth0";
linkConfig.WakeOnLan = "magic";
};
+
+ users.groups.plugdev = {}; # https://github.com/NixOS/nixpkgs/pull/272506
}