Fix mangohud plus other stuff
This commit is contained in:
parent
4831a032ac
commit
5ac8539990
8 changed files with 61 additions and 61 deletions
|
@ -21,6 +21,7 @@
|
||||||
streetsidesoftware.code-spell-checker
|
streetsidesoftware.code-spell-checker
|
||||||
arcticicestudio.nord-visual-studio-code
|
arcticicestudio.nord-visual-studio-code
|
||||||
];
|
];
|
||||||
|
|
||||||
keybindings = [
|
keybindings = [
|
||||||
{
|
{
|
||||||
key = "ctrl+s";
|
key = "ctrl+s";
|
||||||
|
|
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
|
prismlauncher
|
||||||
android-studio
|
android-studio
|
||||||
mission-center
|
mission-center
|
||||||
|
nodePackages_latest.pnpm
|
||||||
hunspellDicts.en_CA-large
|
hunspellDicts.en_CA-large
|
||||||
inputs.nix-gaming.packages.${system}.wine-ge
|
inputs.nix-gaming.packages.${system}.wine-ge
|
||||||
];
|
];
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
{
|
|
||||||
environment.sessionVariables = {
|
|
||||||
MANGOHUD = "1";
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,6 +0,0 @@
|
||||||
{pkgs, ...}: {
|
|
||||||
wrappers.mangohud = {
|
|
||||||
basePackage = pkgs.mangohud;
|
|
||||||
env.MANGOHUD_CONFIGFILE.value = ./mangohud.conf;
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,31 +0,0 @@
|
||||||
gpu_stats = True
|
|
||||||
gpu_text = "GPU"
|
|
||||||
gpu_load_change = True
|
|
||||||
gpu_load_value = [50 90]
|
|
||||||
gpu_load_color = ["FFFFFF" "FFAA7F" "CC0000"]
|
|
||||||
|
|
||||||
cpu_text = "CPU"
|
|
||||||
cpu_color = "2e97cb"
|
|
||||||
cpu_load_change = True
|
|
||||||
core_load_change = True
|
|
||||||
cpu_load_value = [50 90]
|
|
||||||
cpu_load_color = ["FFFFFF" "FFAA7F" "CC0000"]
|
|
||||||
|
|
||||||
vram = True
|
|
||||||
vram_color = "ad64c1"
|
|
||||||
|
|
||||||
fps = True
|
|
||||||
frametime = False
|
|
||||||
frame_timing = False
|
|
||||||
engine_color = "eb5b5b"
|
|
||||||
|
|
||||||
gpu_name = True
|
|
||||||
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"
|
|
|
@ -1,21 +1,21 @@
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
# wrappers.vscode = {
|
wrappers.vscode = {
|
||||||
# basePackage = pkgs.vscodium;
|
basePackage = pkgs.vscodium;
|
||||||
|
|
||||||
# pathAdd = with pkgs.vscode-extensions; [
|
pathAdd = with pkgs.vscode-extensions; [
|
||||||
# mkhl.direnv
|
mkhl.direnv
|
||||||
# eamodio.gitlens
|
eamodio.gitlens
|
||||||
# jnoortheen.nix-ide
|
jnoortheen.nix-ide
|
||||||
# timonwong.shellcheck
|
timonwong.shellcheck
|
||||||
# usernamehw.errorlens
|
usernamehw.errorlens
|
||||||
# ritwickdey.liveserver
|
ritwickdey.liveserver
|
||||||
# dbaeumer.vscode-eslint
|
dbaeumer.vscode-eslint
|
||||||
# esbenp.prettier-vscode
|
esbenp.prettier-vscode
|
||||||
# oderwat.indent-rainbow
|
oderwat.indent-rainbow
|
||||||
# astro-build.astro-vscode
|
astro-build.astro-vscode
|
||||||
# pkief.material-icon-theme
|
pkief.material-icon-theme
|
||||||
# streetsidesoftware.code-spell-checker
|
streetsidesoftware.code-spell-checker
|
||||||
# arcticicestudio.nord-visual-studio-code
|
arcticicestudio.nord-visual-studio-code
|
||||||
# ];
|
];
|
||||||
# };
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue