blob: 335014cec400818178348e9b7bf3518cbccf877b (
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
|
{ config, lib, ... }:
let
cfg = config.hm.soft.mangohud;
in
{
options.hm.soft.mangohud.enable = lib.mkEnableOption "mangohud hm config";
config = lib.mkIf cfg.enable {
programs.mangohud = {
enable = true;
settings = {
table_columns = 4;
font_scale = 1.3;
cellpadding_y = 0.1;
round_corners = 10;
fps_limit = 240;
gpu_temp = true;
gpu_core_clock = true;
cpu_temp = true;
cpu_mhz = true;
fps_metrics = "0.01";
wine = true;
};
};
};
}
|