openrgb
This commit is contained in:
14
modules/nixos/hardware/openrgb/default.nix
Normal file
14
modules/nixos/hardware/openrgb/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user