From 36c450e50748c8cb0a31ecc0d19e36e5eaf83d0f Mon Sep 17 00:00:00 2001 From: Jack O'Sullivan Date: Sat, 24 Jun 2023 13:44:13 +0100 Subject: [PATCH] nixos/gui: Add Nintendo usb udev rule --- nixos/modules/gui.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nixos/modules/gui.nix b/nixos/modules/gui.nix index 7ae6fbc..9e52784 100644 --- a/nixos/modules/gui.nix +++ b/nixos/modules/gui.nix @@ -43,7 +43,10 @@ in udev = { extraRules = '' + # Nvidia SUBSYSTEM=="usb", ATTR{idVendor}=="0955", MODE="0664", GROUP="wheel" + # Nintendo + SUBSYSTEM=="usb", ATTR{idVendor}=="057e", MODE="0664", GROUP="wheel" ''; }; };