Move from home.file to xdg.configFile where applicable

This commit is contained in:
Jimbo 2025-01-10 14:38:04 -05:00
parent dc3d5381c5
commit 98378d3078
8 changed files with 157 additions and 161 deletions

View file

@ -2,25 +2,23 @@
{
config = lib.mkIf config.home.desktop.enable {
programs.mangohud.enable = true;
home.file = {
# These options exist in Nixlang, but the order is not respected.
".config/MangoHud/MangoHud.conf".text = ''
table_columns=2
frametime=0
legacy_layout=0
font_scale=0.80
background_alpha=0.25
fps
fps_color_change
ram
vram
cpu_stats
cpu_load_change
gpu_stats
gpu_load_change
frame_timing
'';
};
# These options exist in Nixlang, but the order is not respected.
xdg.configFile."MangoHud/MangoHud.conf".text = ''
table_columns=2
frametime=0
legacy_layout=0
font_scale=0.80
background_alpha=0.25
fps
fps_color_change
ram
vram
cpu_stats
cpu_load_change
gpu_stats
gpu_load_change
frame_timing
'';
};
}