blob: f104823e85fc016593229f16c62379ad8f90fc29 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
{
config,
lib,
...
}: let
cfg = config.seth.programs.mangohud;
in {
options.seth.programs.mangohud = {
enable =
lib.mkEnableOption "MangoHud configuration"
// {
default = config.seth.desktop.enable;
};
};
config = lib.mkIf cfg.enable {
programs.mangohud = {
enable = true;
settings = {
cpu_stats = true;
cpu_temp = true;
gpu_stats = true;
gpu_temp = true;
fps = true;
frametime = true;
media_player = true;
media_player_name = "spotify";
};
};
};
}
|