nixos-config/modules/home/programs/gui/mangohud/default.nix

27 lines
554 B
Nix
Raw Normal View History

{ config, pkgs, lib, ... }:
2024-10-09 03:36:08 -04:00
{
config = lib.mkIf config.home.gaming.enable {
programs.mangohud.enable = true;
# These options exist in Nixlang, but the order is not respected.
xdg.configFile."MangoHud/MangoHud.conf".text = ''
2025-02-02 13:09:27 -05:00
table_columns = 2
frametime = 0
legacy_layout = 0
font_scale = 0.80
background_alpha = 0.25
fps_limit = 60
fps
fps_color_change
ram
vram
cpu_stats
cpu_load_change
gpu_stats
gpu_load_change
frame_timing
'';
2024-08-24 22:16:51 -04:00
};
}