From f844b0a3b722673eb2783dfa988b5aa6e9df04f0 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sat, 22 Jun 2024 22:54:39 +0100 Subject: [PATCH] nausicaa: openrgb --- ops/nixos/nausicaa/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ops/nixos/nausicaa/default.nix b/ops/nixos/nausicaa/default.nix index 5369ad89ac..d61db85fb9 100644 --- a/ops/nixos/nausicaa/default.nix +++ b/ops/nixos/nausicaa/default.nix @@ -185,10 +185,19 @@ in { hardware.bluetooth.enable = true; hardware.sensor.iio.enable = true; services.fprintd.enable = true; + services.hardware.openrgb = { + enable = true; + package = pkgs.openrgb-with-all-plugins; + }; services.udev.extraRules = '' # Ethernet expansion card support 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.