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