blob: d693c8222b313f72dc9a6cf8456e7b135aa8f2a0 (
plain) (
blame)
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
|
{
config,
lib,
...
}:
with lib; let
cfg = config.nixfiles.modules.games.mangohud;
in {
options.nixfiles.modules.games.mangohud.enable = mkEnableOption "MangoHud";
config = mkIf cfg.enable {
hm.programs.mangohud = {
enable = true;
settings = {
fps = true;
frame_timing = true;
gpu_stats = true;
gpu_temp = true;
cpu_stats = true;
cpu_temp = true;
ram = true;
vram = true;
};
};
};
}
|