{ lib, config, pkgs, ... }: let inherit (lib) mkIf; cfg = config.gaming.openrgb; in { config = mkIf cfg.enable { services.hardware.openrgb = { enable = cfg.enable; package = pkgs.openrgb-with-all-plugins; startupProfile = cfg.profile; }; hardware.i2c.enable = true; boot.kernelModules = ["i2c-dev"]; }; }