feat: move stuff around a bit, created new modules.

This commit is contained in:
CronyAkatsuki 2026-01-25 19:46:53 +01:00
parent 12fadadc5c
commit 506525af35
12 changed files with 247 additions and 215 deletions

View file

@ -0,0 +1,28 @@
{
config,
lib,
...
}: {
options = {
crony.pc-services.enable = lib.mkEnableOption "Enable and setup pc related service for gpu/fan/rgb management.";
};
config = lib.mkIf config.crony.pc-services.enable {
# Enable coolercontrol to setup fancurves
programs.coolercontrol = {
enable = true;
};
# Setup gpu fan curves and light undervolt
services.lact.enable = true;
# Setup display brightness changing using ddcutil
hardware.i2c.enable = true;
# Setup rgb control
services.hardware.openrgb.enable = true;
# Needed modules to have fan control
boot.kernelModules = ["coretemp" "nct6775"];
};
}