Added the most basic OpenRGB install setup

This commit is contained in:
Annika Merris 2024-05-26 10:14:35 -04:00
parent 4d884358ec
commit e61807a592
3 changed files with 20 additions and 0 deletions

View file

@ -0,0 +1,18 @@
{ config, pkgs, lib, ... }:
{
options = {
openrgb = {
enable = lib.mkEnableOption {
description = "Enable OpenRGB";
default = false;
};
};
};
config = lib.mkIf (config.gui.enable && config.openrgb.enable) {
home-manager.users.${config.user} = {
home.packages = [
pkgs.openrgb-with-all-plugins
];
};
};
}