nix/modules/hardware/openrgb/default.nix

14 lines
190 B
Nix
Raw Permalink Normal View History

2024-10-06 12:57:02 +02:00
{
config,
lib,
...
}: {
options = {
openrgb.enable = lib.mkEnableOption "";
};
config = lib.mkIf config.openrgb.enable {
services.hardware.openrgb.enable = true;
};
}