swapped nvf for nixvim, syncthing is only in home-manager now
This commit is contained in:
parent
4794efc276
commit
d11bfc67ec
15 changed files with 334 additions and 3027 deletions
38
base/udev.nix
Normal file
38
base/udev.nix
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
services.udev.extraRules = ''
|
||||
# Sony PlayStation Strikepack; USB
|
||||
KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="05c5", MODE="0660", TAG+="uaccess"
|
||||
|
||||
# Sony PlayStation DualShock 3; Bluetooth; USB
|
||||
KERNEL=="hidraw*", KERNELS=="*054C:0268*", MODE="0660", TAG+="uaccess"
|
||||
KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0268", MODE="0660", TAG+="uaccess"
|
||||
## Motion Sensors
|
||||
SUBSYSTEM=="input", KERNEL=="event*|input*", KERNELS=="*054C:0268*", TAG+="uaccess"
|
||||
|
||||
# Sony PlayStation DualShock 4; Bluetooth; USB
|
||||
KERNEL=="hidraw*", KERNELS=="*054C:05C4*", MODE="0660", TAG+="uaccess"
|
||||
KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="05c4", MODE="0660", TAG+="uaccess"
|
||||
|
||||
# Sony PlayStation DualShock 4 Slim; Bluetooth; USB
|
||||
KERNEL=="hidraw*", KERNELS=="*054C:09CC*", MODE="0660", TAG+="uaccess"
|
||||
KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="09cc", MODE="0660", TAG+="uaccess"
|
||||
|
||||
# Sony PlayStation DualShock 4 Wireless Adapter; USB
|
||||
KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0ba0", MODE="0660", TAG+="uaccess"
|
||||
|
||||
# Sony DualSense Wireless-Controller; Bluetooth; USB
|
||||
KERNEL=="hidraw*", KERNELS=="*054C:0CE6*", MODE="0660", TAG+="uaccess"
|
||||
KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0ce6", MODE="0660", TAG+="uaccess"
|
||||
|
||||
# Sony DualSense Edge Wireless-Controller; Bluetooth; USB
|
||||
KERNEL=="hidraw*", KERNELS=="*054C:0DF2*", MODE="0660", TAG+="uaccess"
|
||||
KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0df2", MODE="0660", TAG+="uaccess"
|
||||
'';
|
||||
services.udev.extraHwdb = ''
|
||||
id-input:modalias:input:b0003v054Cp0268*
|
||||
id-input:modalias:input:b0005v054Cp0268*
|
||||
ID_INPUT_ACCELEROMETER=1
|
||||
ID_INPUT_JOYSTICK=1
|
||||
'';
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue