This commit is contained in:
mjallen18
2026-01-07 09:43:40 -06:00
parent e4ac3b99cd
commit 3268c28cc8

View File

@@ -0,0 +1,14 @@
{ config, lib, ... }:
let
hasDestopEnvironment =
config.${namespace}.desktop.cosmic.enable
|| config.${namespace}.desktop.gnome.enable
|| config.${namespace}.desktop.hyprland.enable;
in
{
config = lib.mkIf hasDestopEnvironment {
services.hardware.openrgb = {
enable = true;
};
};
}