[openrgb] fix: Also add pkg
This commit is contained in:
parent
61f8b8127c
commit
d24e46da9e
1 changed files with 14 additions and 8 deletions
|
|
@ -6,18 +6,24 @@ in {
|
||||||
options.sisyphus.services.openrgb.enable = lib.mkEnableOption "OpenRGB";
|
options.sisyphus.services.openrgb.enable = lib.mkEnableOption "OpenRGB";
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
services.udev.packages = with pkgs; [
|
|
||||||
openrgb
|
|
||||||
];
|
|
||||||
|
|
||||||
boot.kernelModules = [ "i2c-dev" ];
|
boot.kernelModules = [ "i2c-dev" ];
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
openrgb-with-all-plugins
|
||||||
|
];
|
||||||
|
|
||||||
hardware.i2c.enable = true;
|
hardware.i2c.enable = true;
|
||||||
|
|
||||||
services.hardware.openrgb = {
|
services = {
|
||||||
|
hardware.openrgb = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.openrgb-with-all-plugins;
|
package = pkgs.openrgb-with-all-plugins;
|
||||||
motherboard = "intel";
|
motherboard = "intel";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
udev.packages = with pkgs; [
|
||||||
|
openrgb
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue