aboutsummaryrefslogtreecommitdiff
path: root/modules/nixos/wooting.nix
diff options
context:
space:
mode:
authorschererleander <leander@schererleander.de>2025-04-29 20:41:52 +0200
committerschererleander <leander@schererleander.de>2025-04-29 20:41:52 +0200
commit5db06024d727b2ca11f03d3ea6153a7946d8f720 (patch)
treebe1106562808a4197a1f489d073f7085c46f5078 /modules/nixos/wooting.nix
parentec0137a61d11c12cdef8e1dbd515315077be9c72 (diff)
move modules
Diffstat (limited to 'modules/nixos/wooting.nix')
-rw-r--r--modules/nixos/wooting.nix34
1 files changed, 0 insertions, 34 deletions
diff --git a/modules/nixos/wooting.nix b/modules/nixos/wooting.nix
deleted file mode 100644
index eadfe9c..0000000
--- a/modules/nixos/wooting.nix
+++ /dev/null
@@ -1,34 +0,0 @@
-{ config, lib, pkgs, ... }:
-
-let
- cfg = config.wooting;
-in {
- options.wooting.enable = lib.mkEnableOption "Enable Wooting udev rules";
-
- config = lib.mkIf cfg.enable {
- services.udev.extraRules = ''
- # Wooting One Legacy
- SUBSYSTEM=="hidraw", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="ff01", TAG+="uaccess"
- SUBSYSTEM=="usb", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="ff01", TAG+="uaccess"
-
- # Wooting One update mode
- SUBSYSTEM=="hidraw", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2402", TAG+="uaccess"
-
- # Wooting Two Legacy
- SUBSYSTEM=="hidraw", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="ff02", TAG+="uaccess"
- SUBSYSTEM=="usb", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="ff02", TAG+="uaccess"
-
- # Wooting Two update mode
- SUBSYSTEM=="hidraw", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2403", TAG+="uaccess"
-
- # Generic Wootings
- SUBSYSTEM=="hidraw", ATTRS{idVendor}=="31e3", TAG+="uaccess"
- SUBSYSTEM=="usb", ATTRS{idVendor}=="31e3", TAG+="uaccess"
- '';
-
- environment.systemPackages = with pkgs; [
- wootility
- ];
- };
-}
-