mirror of
https://forgejo.merr.is/annika/nixos.git
synced 2025-12-11 12:03:11 -05:00
Added the most basic OpenRGB install setup
This commit is contained in:
parent
4d884358ec
commit
e61807a592
3 changed files with 20 additions and 0 deletions
|
|
@ -63,6 +63,7 @@ inputs.nixpkgs.lib.nixosSystem {
|
|||
element.enable = true;
|
||||
firefox.enable = true;
|
||||
netbird.enable = true;
|
||||
openrgb.enable = true;
|
||||
prusa-slicer.enable = true;
|
||||
spotifyd.enable = true;
|
||||
# Gaming
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@
|
|||
./element.nix
|
||||
./firefox.nix
|
||||
./netbird.nix
|
||||
./openrgb.nix
|
||||
./prusa-slicer.nix
|
||||
./spotifyd.nix
|
||||
];
|
||||
|
|
|
|||
18
modules/common/applications/openrgb.nix
Normal file
18
modules/common/applications/openrgb.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
{
|
||||
options = {
|
||||
openrgb = {
|
||||
enable = lib.mkEnableOption {
|
||||
description = "Enable OpenRGB";
|
||||
default = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
config = lib.mkIf (config.gui.enable && config.openrgb.enable) {
|
||||
home-manager.users.${config.user} = {
|
||||
home.packages = [
|
||||
pkgs.openrgb-with-all-plugins
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue