Hue+: Difference between revisions

From NixOS Wiki
Initial Commit: added example configuration
 
Klinger (talk | contribs)
Category:Hardware and beginning with link to NZXT
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
As of writing, there is no native NixOS configuration for it. However, with a simple service, this can be done easily!
HUE+ is a digital lighting solution for the PC by [https://nzxt.com NZXT].
 
As of writing, there is no native NixOS configuration for it. However, with the open source program [https://github.com/kusti8/hue-plus hue-plus] and a simple systemd service, this can be done easily.


= Example config =
= Example config =
Line 20: Line 22:
}
}
</syntaxhighlight>
</syntaxhighlight>
[[Category:Hardware]]

Latest revision as of 15:28, 18 June 2024

HUE+ is a digital lighting solution for the PC by NZXT.

As of writing, there is no native NixOS configuration for it. However, with the open source program hue-plus and a simple systemd service, this can be done easily.

Example config

# /etc/nixos/configuration.nix
{ config, pkgs, ... }:

{
  environment.systemPackages = with pkgs; [
    # ...
    hue-plus
    # ...
  ];
  
  systemd.services.nzxthue = {
    # You can obviously the candlelight mode & value! I just think this looks nice <3
    script= "${pkgs.hue-plus}/bin/hue candlelight ff3700";
    wantedBy = [ "multi-user.target" ];
  };
}