feat(ai): add OpenRGB control for the board ARGB

Enabling the module runs `openrgb --server` at boot and installs its udev rules,
so the GUI and the CLI reach the MSI controller without root.

Assisted-by: DeepSeek Harness (deepseek-flash)
This commit is contained in:
Ryan Yin authored and ryan4yin | 二花 committed 2026-10-15 22:25:24 +08:00
1 parent b3700b1d9f
commit 7eb5ac5017
1 file changed
+7
+7
View File
@@ -92,6 +92,13 @@ in
# https://github.com/ryan4yin/nix-config/issues/447
hardware.i2c.enable = true;
# The board's ARGB controller is a USB HID device (MSI Mystic Light, 1462:7e01). This
# module installs openrgb with its udev rules and runs `openrgb --server`, so the GUI and
# the CLI reach the board without root. `motherboard` needs no value here: it follows
# hardware.cpu.intel.updateMicrocode, which hardware-configuration.nix already sets.
# https://github.com/ryan4yin/nix-config/issues/448
services.hardware.openrgb.enable = true;
# Re-evaluate after the Insta360 Link firmware or the kernel's uvcvideo changes.
powerManagement.resumeCommands = ''
# Insta360 Link may stay enumerated with a stalled UVC endpoint after S3 resume.