mirror of
https://forgejo.merr.is/annika/nixos.git
synced 2026-02-04 09:41:16 -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;
|
element.enable = true;
|
||||||
firefox.enable = true;
|
firefox.enable = true;
|
||||||
netbird.enable = true;
|
netbird.enable = true;
|
||||||
|
openrgb.enable = true;
|
||||||
prusa-slicer.enable = true;
|
prusa-slicer.enable = true;
|
||||||
spotifyd.enable = true;
|
spotifyd.enable = true;
|
||||||
# Gaming
|
# Gaming
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@
|
||||||
./element.nix
|
./element.nix
|
||||||
./firefox.nix
|
./firefox.nix
|
||||||
./netbird.nix
|
./netbird.nix
|
||||||
|
./openrgb.nix
|
||||||
./prusa-slicer.nix
|
./prusa-slicer.nix
|
||||||
./spotifyd.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