2021-06-12 09:55:58 +02:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
config = {
|
|
|
|
programs.mangohud = {
|
|
|
|
enable = true;
|
2021-09-26 11:08:45 +02:00
|
|
|
package = config.lib.test.mkStubPackage { };
|
2021-06-12 09:55:58 +02:00
|
|
|
settings = {
|
|
|
|
output_folder = /home/user/Documents/mangohud;
|
|
|
|
fps_limit = [ 30 60 ];
|
|
|
|
vsync = 0;
|
|
|
|
legacy_layout = false;
|
|
|
|
cpu_stats = true;
|
|
|
|
cpu_temp = true;
|
|
|
|
cpu_power = true;
|
|
|
|
cpu_text = "CPU";
|
|
|
|
cpu_mhz = true;
|
|
|
|
cpu_load_change = true;
|
|
|
|
cpu_load_value = true;
|
|
|
|
media_player_name = "spotify";
|
|
|
|
media_player_order = [ "title" "artist" "album" ];
|
|
|
|
};
|
|
|
|
settingsPerApplication = {
|
|
|
|
mpv = {
|
|
|
|
output_folder = /home/user/Documents/mpv-mangohud;
|
|
|
|
no_display = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
nmt.script = ''
|
|
|
|
assertFileExists home-files/.config/MangoHud/MangoHud.conf
|
|
|
|
assertFileContent home-files/.config/MangoHud/MangoHud.conf \
|
|
|
|
${./basic-configuration.conf}
|
|
|
|
assertFileExists home-files/.config/MangoHud/mpv.conf
|
|
|
|
assertFileContent home-files/.config/MangoHud/mpv.conf \
|
|
|
|
${./basic-configuration-mpv.conf}
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|