Commit f75b7a41edfd

Vincent Demeester <vincent@sbr.pm>
2018-09-18 19:10:39
Make sure steam controller can be seen
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 09ca2c1
Changed files (1)
profiles
profiles/gaming.nix
@@ -6,4 +6,9 @@
       driSupport32Bit = true;
     };
   };
+  services.udev.extraRules = ''
+    # Steam controller
+    SUBSYSTEM=="usb", ATTRS{idVendor}=="28de", MODE="0666"
+    KERNEL=="uinput", MODE="0660", GROUP="users", OPTIONS+="static_node=uinput"
+  '';
 }