[openrgb] fix: Also add pkg

This commit is contained in:
Tibo De Peuter 2025-11-03 19:06:55 +01:00
parent 61f8b8127c
commit d24e46da9e
Signed by: tdpeuter
GPG key ID: 38297DE43F75FFE2

View file

@ -6,18 +6,24 @@ in {
options.sisyphus.services.openrgb.enable = lib.mkEnableOption "OpenRGB";
config = lib.mkIf cfg.enable {
services.udev.packages = with pkgs; [
openrgb
];
boot.kernelModules = [ "i2c-dev" ];
environment.systemPackages = with pkgs; [
openrgb-with-all-plugins
];
hardware.i2c.enable = true;
services.hardware.openrgb = {
enable = true;
package = pkgs.openrgb-with-all-plugins;
motherboard = "intel";
services = {
hardware.openrgb = {
enable = true;
package = pkgs.openrgb-with-all-plugins;
motherboard = "intel";
};
udev.packages = with pkgs; [
openrgb
];
};
};
}