This repository has been archived on 2024-04-07. You can view files and clone it, but cannot push or open issues or pull requests.
nixos-config/user/mangohud.nix

67 lines
1.9 KiB
Nix
Raw Normal View History

2022-10-19 03:41:40 +02:00
{ config, pkgs, lib, font, ... }:
let inherit (pkgs.uservars) key theme color accent font;
2022-10-19 03:41:40 +02:00
in {
config = {
programs.mangohud = {
enable = true;
enableSessionWide = true;
settings = {
2022-11-29 19:50:33 +01:00
full = true;
# histogram = true;
2022-11-23 21:21:26 +01:00
no_display = true;
2023-07-27 04:46:18 +02:00
fps_limit = "0,30,60,72,90,120,144,240,288,320";
2023-07-04 16:06:37 +02:00
toggle_fps_limit = "Shift_R+F10";
2024-03-16 03:41:45 +01:00
toggle_preset = "Control_R+F9";
fps_metrics = "Control_R+F8";
2022-10-19 03:41:40 +02:00
2022-11-29 19:50:33 +01:00
# legacy_layout = "false";
# gpu_stats = true;
# gpu_temp = true;
# gpu_core_clock = true;
# gpu_mem_clock = true;
# gpu_power = true;
# gpu_load_change = true;
# gpu_load_value = "50,90";
2022-10-19 03:41:40 +02:00
gpu_load_color = "FFFFFF,FFAA7F,CC0000";
2022-11-29 19:50:33 +01:00
# gpu_text = "GPU";
# cpu_stats = true;
# cpu_temp = true;
# cpu_power = true;
# cpu_mhz = true;
# cpu_load_change = true;
# core_load_change = true;
# cpu_load_value = "50,90";
2022-10-19 03:41:40 +02:00
cpu_load_color = "FFFFFF,FFAA7F,CC0000";
cpu_color = "2e97cb";
2022-11-29 19:50:33 +01:00
# cpu_text = "CPU";
# io_stats = true;
# io_read = true;
# io_write = true;
2022-10-19 03:41:40 +02:00
io_color = "a491d3";
2022-11-29 19:50:33 +01:00
# swap = true;
# vram = true;
2022-10-19 03:41:40 +02:00
vram_color = "ad64c1";
2022-11-29 19:50:33 +01:00
# ram = true;
2022-10-19 03:41:40 +02:00
ram_color = "c26693";
2022-11-29 19:50:33 +01:00
# fps = true;
2022-10-19 03:41:40 +02:00
engine_color = "eb5b5b";
gpu_color = "2e9762";
wine_color = "eb5b5b";
2022-11-29 19:50:33 +01:00
# frame_timing = "1";
2022-10-19 03:41:40 +02:00
frametime_color = "00ff00";
media_player_color = "ffffff";
background_alpha = "0.8";
font_size = "24";
background_color = "020202";
position = "top-left";
2022-11-29 19:50:33 +01:00
# text_color = "ffffff";
2022-10-19 03:41:40 +02:00
round_corners = "10";
toggle_hud = "Shift_R+F12";
2022-11-29 19:50:33 +01:00
# toggle_logging = "Shift_L+F12";
# output_folder = "/home/lelgenio";
2022-10-19 03:41:40 +02:00
};
};
};
}