Files
nix-config/modules/graphical/openrgb.nix
2024-04-17 16:33:12 +02:00

16 lines
333 B
Nix

{config, lib, pkgs, ...}:
with lib;
let
cfg = config.custom.graphical.openrgb;
in
{
options.custom.graphical.openrgb = {
enable = mkEnableOption "Enables openrgb";
};
config = mkIf cfg.enable {
services.hardware.openrgb.enable = true;
services.hardware.openrgb.package = pkgs.openrgb-with-all-plugins;
};
}