diff --git a/modules/linux/home-manager/hyprland.nix b/modules/linux/home-manager/hyprland.nix index f81348c..09e44b1 100644 --- a/modules/linux/home-manager/hyprland.nix +++ b/modules/linux/home-manager/hyprland.nix @@ -141,10 +141,7 @@ in { "sunshine, 1920x1080@165, 0x0, 1" ]; - render = { - direct_scanout = 2; # Reduce latency for games - cm_auto_hdr = 2; # Switch to hdr automatically when needed - }; + render.cm_fs_passthrough = 1; animations = { enabled = false; diff --git a/modules/linux/nixos/pc-services.nix b/modules/linux/nixos/pc-services.nix index 3d02a22..7389fd4 100644 --- a/modules/linux/nixos/pc-services.nix +++ b/modules/linux/nixos/pc-services.nix @@ -18,36 +18,36 @@ 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 - # ''; + 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: 275 + max_core_clock: 2900 + min_core_clock: 180 + version: 5 + ''; # Setup display brightness changing using ddcutil hardware.i2c.enable = true;