From 5ab8322454ad1c86cfa0931481cdeeb5c160d7b5 Mon Sep 17 00:00:00 2001 From: Emmet Date: Tue, 23 May 2023 20:48:47 -0500 Subject: [PATCH] Setup openrgb --- system/configuration.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/system/configuration.nix b/system/configuration.nix index ddb11506..5517bcbd 100644 --- a/system/configuration.nix +++ b/system/configuration.nix @@ -37,6 +37,9 @@ jack.enable = true; }; + # Kernel modules + boot.kernelModules = [ "i2c-dev" "i2c-piix4" ]; + # Bootloader. boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; @@ -149,9 +152,16 @@ zsh auto-cpufreq git + openrgb-with-all-plugins (pkgs.writeScriptBin "sudo" ''exec doas "$@"'') ]; + # OpenRGB setup + services.hardware.openrgb = { + enable = true; + motherboard = "amd"; + }; + environment.shells = with pkgs; [ zsh ]; programs.zsh.enable = true;