diff options
Diffstat (limited to 'systems')
| -rw-r--r-- | systems/zu/config.nix | 7 |
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 } |
