Add mangohud
This commit is contained in:
parent
3c2c94f86f
commit
1165326ad1
3 changed files with 27 additions and 1 deletions
|
@ -1,8 +1,31 @@
|
|||
{ config
|
||||
, pkgs
|
||||
, inputs
|
||||
, lib
|
||||
, ...
|
||||
}: {
|
||||
programs.mangohud = {
|
||||
enable = true;
|
||||
settings = {
|
||||
# need to override the stylix font size here
|
||||
font_size = lib.mkForce 32;
|
||||
font_size_text = lib.mkForce 32;
|
||||
font_scale = lib.mkForce 1;
|
||||
|
||||
position = "bottom-left";
|
||||
horizontal_stretch = 0;
|
||||
hud_no_margin = 1;
|
||||
hud_compact = 1;
|
||||
horizontal = 1;
|
||||
cpu_mhz = 1;
|
||||
gpu_core_clock = 1;
|
||||
ram = 1;
|
||||
swap = 1;
|
||||
frametime = 0;
|
||||
frame_timing = 0;
|
||||
};
|
||||
};
|
||||
|
||||
programs.mpv = {
|
||||
enable = true;
|
||||
package = pkgs.mpv;
|
||||
|
|
|
@ -10,6 +10,9 @@
|
|||
remotePlay.openFirewall = true;
|
||||
dedicatedServer.openFirewall = true;
|
||||
|
||||
extraPackages = with pkgs; [
|
||||
mangohud
|
||||
];
|
||||
extraCompatPackages = with pkgs; [
|
||||
proton-ge-custom
|
||||
];
|
||||
|
|
Loading…
Add table
Reference in a new issue