blob: 0571073a5f6260c6ced17bac5781d59084b0327c (
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
27
|
{ config, lib, ... }:
let
cfg = config.nixfiles.modules.games.mangohud;
in
{
options.nixfiles.modules.games.mangohud.enable = lib.mkEnableOption "MangoHud";
config = lib.mkIf cfg.enable {
hm = {
stylix.targets.mangohud.enable = false;
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;
};
};
};
};
}
|