Files
nix-config/modules/graphical/openrgb.nix
2025-03-18 16:27:20 +01:00

16 lines
332 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;
};
}