about summary refs log tree commit diff
path: root/nixos/modules/hardware
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2023-12-06 17:30:02 +0100
committerPeter Hoeg <peter@hoeg.com>2023-12-14 10:01:19 +0100
commit4fc44b7ddf8456f7b4163f328e6be2525807866d (patch)
tree0b94f5a88b61976b2952f7562d41a5ce2796e365 /nixos/modules/hardware
parentecdadc28d5ae64ecc7692747ed7cfd6680d1b193 (diff)
downloadnixlib-4fc44b7ddf8456f7b4163f328e6be2525807866d.tar
nixlib-4fc44b7ddf8456f7b4163f328e6be2525807866d.tar.gz
nixlib-4fc44b7ddf8456f7b4163f328e6be2525807866d.tar.bz2
nixlib-4fc44b7ddf8456f7b4163f328e6be2525807866d.tar.lz
nixlib-4fc44b7ddf8456f7b4163f328e6be2525807866d.tar.xz
nixlib-4fc44b7ddf8456f7b4163f328e6be2525807866d.tar.zst
nixlib-4fc44b7ddf8456f7b4163f328e6be2525807866d.zip
nixos/qmk: ensure plugdev groups exists
QMK's udev rules are setting hidraw devices's group to plugdev.
Diffstat (limited to 'nixos/modules/hardware')
-rw-r--r--nixos/modules/hardware/keyboard/qmk.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/hardware/keyboard/qmk.nix b/nixos/modules/hardware/keyboard/qmk.nix
index df3bcaeccd2e..d95d36dedb44 100644
--- a/nixos/modules/hardware/keyboard/qmk.nix
+++ b/nixos/modules/hardware/keyboard/qmk.nix
@@ -12,5 +12,6 @@ in
 
   config = mkIf cfg.enable {
     services.udev.packages = [ pkgs.qmk-udev-rules ];
+    users.groups.plugdev = {};
   };
 }