nix/module/desktop/mangohud/default.nix

46 lines
667 B
Nix
Raw Normal View History

2024-04-30 20:36:22 +03:00
{ util, ... }: {
config = util.trimTabs ''
af=16
blacklist=example
fps_limit=165
fps_limit_method=early
fps_sampling_period=1000
frame_timing=0
gl_vsync=1
no_display=0
preset=1,0,2
toggle_preset=F1
toggle_logging=F2
vsync=3
'';
presets = util.trimTabs ''
[preset 0]
no_display=1
[preset 1]
alpha=1.0
arch=0
background_alpha=0.5
battery=1
battery_time=1
benchmark_percentiles=0
cpu_temp=1
device_battery=gamepad,mouse
font_size=12
fps_sampling_period=1000
gpu_junction_temp=1
gpu_mem_temp=1
gpu_temp=1
hud_no_margin=1
ram=1
swap=1
throttling_status=1
time=1
vram=1
[preset 2]
full=1
'';
}