diff options
author | Karel Kočí <cynerd@email.cz> | 2023-02-28 07:32:45 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2023-02-28 07:32:45 +0100 |
commit | 91c066b2f73235f0789ab576be993d1262a990b9 (patch) | |
tree | 7880af3fb27fd8323571293b55f5398ee73a2b14 /nixos | |
parent | 782395a37e7152c6723476b214ed7caa3e4bd26e (diff) | |
download | nixos-personal-91c066b2f73235f0789ab576be993d1262a990b9.tar.gz nixos-personal-91c066b2f73235f0789ab576be993d1262a990b9.tar.bz2 nixos-personal-91c066b2f73235f0789ab576be993d1262a990b9.zip |
nixos: move openrgb to desktop
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/machine/errol.nix | 1 | ||||
-rw-r--r-- | nixos/machine/ridcully.nix | 6 | ||||
-rw-r--r-- | nixos/modules/desktop.nix | 5 |
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 = { |