wiefjiwef
This commit is contained in:
@@ -92,8 +92,39 @@ boot = {
|
||||
};
|
||||
|
||||
services.udev.extraRules = ''
|
||||
SUBSYSTEM=="tty", KERNEL=="ttyACM*", ATTRS{idVendor}=="346e", ACTION=="add", MODE="0666", TAG+="uaccess"
|
||||
'';
|
||||
# This rule was added by Solaar.
|
||||
#
|
||||
# Allows non-root users to have raw access to Logitech devices.
|
||||
# Allowing users to write to the device is potentially dangerous
|
||||
# because they could perform firmware updates.
|
||||
|
||||
ACTION == "remove", GOTO="solaar_end"
|
||||
SUBSYSTEM != "hidraw", GOTO="solaar_end"
|
||||
|
||||
# USB-connected Logitech receivers and devices
|
||||
ATTRS{idVendor}=="046d", GOTO="solaar_apply"
|
||||
|
||||
# Lenovo nano receiver
|
||||
ATTRS{idVendor}=="17ef", ATTRS{idProduct}=="6042", GOTO="solaar_apply"
|
||||
|
||||
# Bluetooth-connected Logitech devices
|
||||
KERNELS == "0005:046D:*", GOTO="solaar_apply"
|
||||
|
||||
GOTO="solaar_end"
|
||||
|
||||
LABEL="solaar_apply"
|
||||
|
||||
# Allow any seated user to access the receiver.
|
||||
# uaccess: modern ACL-enabled udev
|
||||
TAG+="uaccess"
|
||||
|
||||
# Grant members of the "plugdev" group access to receiver (useful for SSH users)
|
||||
#MODE="0660", GROUP="plugdev"
|
||||
|
||||
LABEL="solaar_end"
|
||||
# vim: ft=udevrules
|
||||
'';
|
||||
|
||||
|
||||
boot.extraModulePackages = with config.boot.kernelPackages; [ universal-pidff xpadneo ];
|
||||
|
||||
@@ -321,6 +352,7 @@ services.pulseaudio.extraConfig = ''
|
||||
killall
|
||||
usbutils
|
||||
mangohud
|
||||
solaar
|
||||
ffmpeg
|
||||
linux-wallpaperengine
|
||||
oversteer
|
||||
@@ -387,6 +419,9 @@ services.pulseaudio.extraConfig = ''
|
||||
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
|
||||
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
|
||||
#package = pkgs.millennium-steam;
|
||||
extraPackages = [
|
||||
pkgs.hidapi
|
||||
];
|
||||
};
|
||||
hardware.steam-hardware.enable=true;
|
||||
services.monado = {
|
||||
|
||||
Reference in New Issue
Block a user