Fix mangohud plus other stuff
This commit is contained in:
parent
4831a032ac
commit
5ac8539990
8 changed files with 61 additions and 61 deletions
9
modules/common-desktop/mangohud/default.nix
Normal file
9
modules/common-desktop/mangohud/default.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{pkgs, ...}: {
|
||||
environment = {
|
||||
systemPackages = [pkgs.mangohud];
|
||||
sessionVariables = {
|
||||
MANGOHUD = "1";
|
||||
MANGOHUD_CONFIGFILE = ./mangohud.conf;
|
||||
};
|
||||
};
|
||||
}
|
31
modules/common-desktop/mangohud/mangohud.conf
Normal file
31
modules/common-desktop/mangohud/mangohud.conf
Normal file
|
@ -0,0 +1,31 @@
|
|||
gpu_stats=1
|
||||
gpu_text=GPU
|
||||
gpu_load_change=1
|
||||
gpu_load_value=50,90
|
||||
gpu_load_color=FFFFFF,FFAA7F,CC0000
|
||||
|
||||
cpu_text=CPU
|
||||
cpu_color=2e97cb
|
||||
cpu_load_change=1
|
||||
core_load_change=1
|
||||
cpu_load_value=50,90
|
||||
cpu_load_color=FFFFFF,FFAA7F,CC0000
|
||||
|
||||
vram=1
|
||||
vram_color=ad64c1
|
||||
|
||||
fps=1
|
||||
frametime=0
|
||||
frame_timing=0
|
||||
engine_color=eb5b5b
|
||||
|
||||
gpu_name=1
|
||||
gpu_color=2e9762
|
||||
|
||||
font_size=24
|
||||
table_columns=2
|
||||
round_corners=10
|
||||
text_color=ffffff
|
||||
background_alpha=0.4
|
||||
position=bottom-right
|
||||
background_color=020202
|
|
@ -26,6 +26,7 @@
|
|||
prismlauncher
|
||||
android-studio
|
||||
mission-center
|
||||
nodePackages_latest.pnpm
|
||||
hunspellDicts.en_CA-large
|
||||
inputs.nix-gaming.packages.${system}.wine-ge
|
||||
];
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
environment.sessionVariables = {
|
||||
MANGOHUD = "1";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue