From 91c066b2f73235f0789ab576be993d1262a990b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 28 Feb 2023 07:32:45 +0100 Subject: nixos: move openrgb to desktop --- nixos/machine/errol.nix | 1 + nixos/machine/ridcully.nix | 6 +----- nixos/modules/desktop.nix | 5 +++++ 3 files changed, 7 insertions(+), 5 deletions(-) (limited to 'nixos') 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 = { -- cgit v1.2.3