From 3268c28cc87c727b7c212651a16bea0904ccbab1 Mon Sep 17 00:00:00 2001 From: mjallen18 Date: Wed, 7 Jan 2026 09:43:40 -0600 Subject: [PATCH] openrgb --- modules/nixos/hardware/openrgb/default.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 modules/nixos/hardware/openrgb/default.nix diff --git a/modules/nixos/hardware/openrgb/default.nix b/modules/nixos/hardware/openrgb/default.nix new file mode 100644 index 0000000..31bff03 --- /dev/null +++ b/modules/nixos/hardware/openrgb/default.nix @@ -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; + }; + }; +} \ No newline at end of file