First Commit
This commit is contained in:
14
modules/desktop/rgb.nix
Normal file
14
modules/desktop/rgb.nix
Normal file
@@ -0,0 +1,14 @@
|
||||
{ lib, config, inputs, pkgs, ... }:
|
||||
let
|
||||
cfg = config.my.rgb;
|
||||
in
|
||||
{
|
||||
config = lib.mkIf cfg.enable {
|
||||
services.hardware.openrgb = {
|
||||
enable = true;
|
||||
};
|
||||
environment.systemPackages = [
|
||||
inputs.artemisrgb.packages.${pkgs.stdenv.hostPlatform.system}.default
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user