nausicaa: openrgb

This commit is contained in:
Luke Granger-Brown 2024-06-22 22:54:39 +01:00
parent 80517a0a22
commit f844b0a3b7

View file

@ -185,10 +185,19 @@ in {
hardware.bluetooth.enable = true; hardware.bluetooth.enable = true;
hardware.sensor.iio.enable = true; hardware.sensor.iio.enable = true;
services.fprintd.enable = true; services.fprintd.enable = true;
services.hardware.openrgb = {
enable = true;
package = pkgs.openrgb-with-all-plugins;
};
services.udev.extraRules = '' services.udev.extraRules = ''
# Ethernet expansion card support # Ethernet expansion card support
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="0bda", ATTR{idProduct}=="8156", ATTR{power/autosuspend}="20" ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="0bda", ATTR{idProduct}=="8156", ATTR{power/autosuspend}="20"
# RGB ANSI Keyboard
SUBSYSTEMS=="usb", ATTRS{idVendor}=="32ac", ATTRS{idProduct}=="0012", TAG+="uaccess"
# RGB Macropad
SUBSYSTEMS=="usb", ATTRS{idVendor}=="32ac", ATTRS{idProduct}=="0013", TAG+="uaccess"
''; '';
# Define a user account. # Define a user account.