mirror of
https://forgejo.merr.is/annika/nixos.git
synced 2025-12-12 12:01:01 -05:00
18 lines
376 B
Nix
18 lines
376 B
Nix
{ 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
|
|
];
|
|
};
|
|
};
|
|
}
|