Compare commits

..

2 commits

Author SHA1 Message Date
baf5f452ea feat: don't use generated config, testing purposes.
All checks were successful
/ cache (push) Successful in 6m20s
2026-04-20 19:53:49 +02:00
9ef488d24d feat: use new autohdr settings, enable direct scanout. 2026-04-20 19:53:35 +02:00
2 changed files with 34 additions and 31 deletions

View file

@ -141,7 +141,10 @@ in {
"sunshine, 1920x1080@165, 0x0, 1" "sunshine, 1920x1080@165, 0x0, 1"
]; ];
render.cm_fs_passthrough = 1; render = {
direct_scanout = 2; # Reduce latency for games
cm_auto_hdr = 2; # Switch to hdr automatically when needed
};
animations = { animations = {
enabled = false; enabled = false;

View file

@ -18,36 +18,36 @@
enable = true; enable = true;
}; };
environment.etc."lact/config.yaml".text = '' # environment.etc."lact/config.yaml".text = ''
apply_settings_timer: 5 # apply_settings_timer: 5
auto_switch_profiles: false # auto_switch_profiles: false
current_profile: null # current_profile: null
daemon: # daemon:
admin_group: wheel # admin_group: wheel
disable_clocks_cleanup: false # disable_clocks_cleanup: false
log_level: info # log_level: info
gpus: # gpus:
10DE:2D04-1771:205E-0000:01:00.0: # 10DE:2D04-1771:205E-0000:01:00.0:
fan_control_enabled: true # fan_control_enabled: true
fan_control_settings: # fan_control_settings:
change_threshold: 2 # change_threshold: 2
curve: # curve:
40: 0.3 # 40: 0.3
50: 0.5 # 50: 0.5
54: 0.7 # 54: 0.7
57: 0.85 # 57: 0.85
60: 1.0 # 60: 1.0
interval_ms: 500 # interval_ms: 500
mode: curve # mode: curve
spindown_delay_ms: 5000 # spindown_delay_ms: 5000
static_speed: 0.5 # static_speed: 0.5
temperature_key: edge # temperature_key: edge
gpu_clock_offsets: # gpu_clock_offsets:
0: 275 # 0: 300
max_core_clock: 2900 # max_core_clock: 2900
min_core_clock: 180 # min_core_clock: 180
version: 5 # version: 5
''; # '';
# Setup display brightness changing using ddcutil # Setup display brightness changing using ddcutil
hardware.i2c.enable = true; hardware.i2c.enable = true;