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

@ -63,6 +63,7 @@ inputs.nixpkgs.lib.nixosSystem {
element.enable = true;
firefox.enable = true;
netbird.enable = true;
openrgb.enable = true;
prusa-slicer.enable = true;
spotifyd.enable = true;
# Gaming

View file

@ -5,6 +5,7 @@
./element.nix
./firefox.nix
./netbird.nix
./openrgb.nix
./prusa-slicer.nix
./spotifyd.nix
];

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
];
};
};
}