diff --git a/modules/linux/nixos/pc-services.nix b/modules/linux/nixos/pc-services.nix index 7f6173d..79bb152 100644 --- a/modules/linux/nixos/pc-services.nix +++ b/modules/linux/nixos/pc-services.nix @@ -14,7 +14,40 @@ }; # Setup gpu fan curves and light undervolt - services.lact.enable = true; + services.lact = { + enable = true; + }; + + environment.etc."lact/config.yaml".text = '' + apply_settings_timer: 5 + auto_switch_profiles: false + current_profile: null + daemon: + admin_group: wheel + disable_clocks_cleanup: false + log_level: info + gpus: + 10DE:2D04-1771:205E-0000:01:00.0: + fan_control_enabled: true + fan_control_settings: + change_threshold: 2 + curve: + 40: 0.3 + 50: 0.5 + 54: 0.7 + 57: 0.85 + 60: 1.0 + interval_ms: 500 + mode: curve + spindown_delay_ms: 5000 + static_speed: 0.5 + temperature_key: edge + gpu_clock_offsets: + 0: 300 + max_core_clock: 2900 + min_core_clock: 180 + version: 5 + ''; # Setup display brightness changing using ddcutil hardware.i2c.enable = true;