summary refs log tree commit diff
path: root/nixos/modules/hardware
diff options
context:
space:
mode:
authorFlorian Franzen <Florian.Franzen@gmail.com>2021-11-19 09:46:08 +0100
committerFlorian Franzen <Florian.Franzen@gmail.com>2021-11-19 10:00:32 +0100
commit328cea4b5d646675f99aaa0a749b42c70483a5c9 (patch)
tree82abf58a2d77aecf56055833b373d0984a928c46 /nixos/modules/hardware
parentefdc5d052d7e3674153d4fcbeb12c22abbec57b1 (diff)
downloadnixpkgs-328cea4b5d646675f99aaa0a749b42c70483a5c9.tar
nixpkgs-328cea4b5d646675f99aaa0a749b42c70483a5c9.tar.gz
nixpkgs-328cea4b5d646675f99aaa0a749b42c70483a5c9.tar.bz2
nixpkgs-328cea4b5d646675f99aaa0a749b42c70483a5c9.tar.lz
nixpkgs-328cea4b5d646675f99aaa0a749b42c70483a5c9.tar.xz
nixpkgs-328cea4b5d646675f99aaa0a749b42c70483a5c9.tar.zst
nixpkgs-328cea4b5d646675f99aaa0a749b42c70483a5c9.zip
nixos/zsa: plugdev group was replaced by uaccess
Diffstat (limited to 'nixos/modules/hardware')
-rw-r--r--nixos/modules/hardware/keyboard/zsa.nix3
1 files changed, 0 insertions, 3 deletions
diff --git a/nixos/modules/hardware/keyboard/zsa.nix b/nixos/modules/hardware/keyboard/zsa.nix
index 5cb09e5af49..bb69cfa0bf0 100644
--- a/nixos/modules/hardware/keyboard/zsa.nix
+++ b/nixos/modules/hardware/keyboard/zsa.nix
@@ -5,7 +5,6 @@ let
   cfg = config.hardware.keyboard.zsa;
 in
 {
-  # TODO: make group configurable like in https://github.com/NixOS/nixpkgs/blob/0b2b4b8c4e729535a61db56468809c5c2d3d175c/pkgs/tools/security/nitrokey-app/udev-rules.nix ?
   options.hardware.keyboard.zsa = {
     enable = mkOption {
       type = types.bool;
@@ -14,7 +13,6 @@ in
         Enables udev rules for keyboards from ZSA like the ErgoDox EZ, Planck EZ and Moonlander Mark I.
         You need it when you want to flash a new configuration on the keyboard
         or use their live training in the browser.
-        Access to the keyboard is granted to users in the "plugdev" group.
         You may want to install the wally-cli package.
       '';
     };
@@ -22,6 +20,5 @@ in
 
   config = mkIf cfg.enable {
     services.udev.packages = [ pkgs.zsa-udev-rules ];
-    users.groups.plugdev = {};
   };
 }