aboutsummaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
Diffstat (limited to 'nixos')
-rw-r--r--nixos/machine/errol.nix1
-rw-r--r--nixos/machine/ridcully.nix6
-rw-r--r--nixos/modules/desktop.nix5
3 files changed, 7 insertions, 5 deletions
diff --git a/nixos/machine/errol.nix b/nixos/machine/errol.nix
index 4a696b1..8609956 100644
--- a/nixos/machine/errol.nix
+++ b/nixos/machine/errol.nix
@@ -19,6 +19,7 @@ with lib; {
boot.kernelModules = ["kvm-amd"];
hardware.cpu.amd.updateMicrocode = true;
+ services.hardware.openrgb.motherboard = "amd";
cynerd.autounlock = {
"encroot" = "/dev/disk/by-uuid/8095988e-239b-4417-9df6-94a40e4133ed";
diff --git a/nixos/machine/ridcully.nix b/nixos/machine/ridcully.nix
index 7495957..b7402b7 100644
--- a/nixos/machine/ridcully.nix
+++ b/nixos/machine/ridcully.nix
@@ -19,6 +19,7 @@ with lib; {
boot.kernelModules = ["kvm-amd"];
hardware.cpu.amd.updateMicrocode = true;
+ services.hardware.openrgb.motherboard = "amd";
cynerd.autounlock = {
"encroot" = "/dev/disk/by-uuid/c07e929a-6eac-4f99-accf-f7cb3431290c";
@@ -64,10 +65,5 @@ with lib; {
dataDir = "/home/cynerd";
configDir = "/home/cynerd/.config/syncthing";
};
-
- services.hardware.openrgb = {
- enable = true;
- motherboard = "amd";
- };
};
}
diff --git a/nixos/modules/desktop.nix b/nixos/modules/desktop.nix
index 649f0e8..388f70c 100644
--- a/nixos/modules/desktop.nix
+++ b/nixos/modules/desktop.nix
@@ -241,6 +241,11 @@ in {
hardware.bluetooth.enable = mkIf cnf.laptop true;
+ services.hardware.openrgb = {
+ enable = true;
+ package = pkgs.openrgb-with-all-plugins;
+ };
+
documentation.man.man-db.enable = true;
services.snapper.configs = {