feat: enable tinymist and add dualsense service configuration
This commit is contained in:
@@ -21,5 +21,6 @@
|
||||
./fprintd.nix
|
||||
./handoff.nix
|
||||
./gstreamer.nix
|
||||
./dualsense.nix
|
||||
];
|
||||
}
|
||||
|
||||
11
nixos/ryu/services/dualsense.nix
Normal file
11
nixos/ryu/services/dualsense.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{pkgs, ...}: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
dualsensectl
|
||||
];
|
||||
services.udev.extraRules = ''
|
||||
# USB
|
||||
ATTRS{name}=="Sony Interactive Entertainment DualSense Wireless Controller Touchpad", ENV{LIBINPUT_IGNORE_DEVICE}="1"
|
||||
# Bluetooth
|
||||
ATTRS{name}=="DualSense Wireless Controller", ENV{LIBINPUT_IGNORE_DEVICE}="1"
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user