aboutsummaryrefslogtreecommitdiff
path: root/hosts/nixos/wooting.nix
diff options
context:
space:
mode:
authorschererleander <leander@schererleander.de>2025-07-29 02:04:35 +0200
committerschererleander <leander@schererleander.de>2025-07-29 02:04:35 +0200
commit7b3bf7557d4cd2d3263425cbfa15350b4c3ed361 (patch)
tree8814f7dfce6d0fd732f7a785d253a9c7971ab58e /hosts/nixos/wooting.nix
parente9452ac723b4459b9da06122b6e4e60726030934 (diff)
chore: rename hosts
Diffstat (limited to 'hosts/nixos/wooting.nix')
-rw-r--r--hosts/nixos/wooting.nix30
1 files changed, 0 insertions, 30 deletions
diff --git a/hosts/nixos/wooting.nix b/hosts/nixos/wooting.nix
deleted file mode 100644
index e6217cd..0000000
--- a/hosts/nixos/wooting.nix
+++ /dev/null
@@ -1,30 +0,0 @@
-{ config, lib, pkgs, ... }:
-
-{
- options.wooting.enable = lib.mkEnableOption "Enable Wooting udev rules";
- config = lib.mkIf config.wooting.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
- ];
- };
-} \ No newline at end of file