blob: 1ab8bb09e7d9e940904f66b36eb33363309196a9 (
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
|
{
config,
lib,
...
}: let
cfg = config.getchoo.programs.mangohud;
inherit (lib) mkEnableOption mkIf;
in {
options.getchoo.programs.mangohud.enable =
mkEnableOption "mangohud"
// {default = config.getchoo.desktop.enable;};
config = mkIf cfg.enable {
programs.mangohud = {
enable = true;
settings = {
legacy_layout = false;
cpu_stats = true;
cpu_temp = true;
gpu_stats = true;
gpu_temp = true;
fps = true;
frametime = true;
media_player = true;
media_player_name = "spotify";
};
};
};
}
|