Personal-use NixOS configuration

RGB control module

+20
+2
hardware/cpu/amd.nix
··· 6 6 7 7 nixos-hardware.nixosModules.common-cpu-amd 8 8 ]; 9 + 10 + services.hardware.openrgb.motherboard = "amd"; 9 11 }
+2
hardware/cpu/intel.nix
··· 12 12 nixos-hardware.nixosModules.common-cpu-intel 13 13 ]; 14 14 15 + services.hardware.openrgb.motherboard = "intel"; 16 + 15 17 services.thermald.enable = isLaptop; 16 18 }
+1
hosts/prospect/default.nix
··· 16 16 (flakeRoot + /modules/common) 17 17 (flakeRoot + /modules/common/boot/systemd-boot.nix) 18 18 (flakeRoot + /modules/common/system/audio.nix) 19 + (flakeRoot + /modules/common/system/rgb.nix) 19 20 20 21 (flakeRoot + /modules/desktop/environments/gnome.nix) 21 22
+15
modules/common/system/rgb.nix
··· 1 + { pkgs, ... }: 2 + 3 + { 4 + boot.kernelModules = [ "i2c-dev" ]; 5 + 6 + hardware.i2c = { 7 + enable = true; 8 + }; 9 + 10 + services.hardware.openrgb = { 11 + enable = true; 12 + 13 + package = pkgs.openrgb-with-all-plugins; 14 + }; 15 + }