New mangohud
This commit is contained in:
parent
5f99274ae5
commit
1fbfec3aef
6 changed files with 63 additions and 40 deletions
|
@ -14,7 +14,6 @@
|
|||
./home-manager/gtk.nix
|
||||
./home-manager/vscode.nix
|
||||
./home-manager/firefox.nix
|
||||
./home-manager/mangohud.nix
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,39 +0,0 @@
|
|||
{
|
||||
programs.mangohud = {
|
||||
enable = true;
|
||||
enableSessionWide = true;
|
||||
settings = {
|
||||
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";
|
||||
};
|
||||
};
|
||||
}
|
5
modules/common-desktop/variables.nix
Normal file
5
modules/common-desktop/variables.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
environment.sessionVariables = {
|
||||
MANGOHUD = 1;
|
||||
};
|
||||
}
|
6
wrappers/common-desktop/mangohud/default.nix
Normal file
6
wrappers/common-desktop/mangohud/default.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{pkgs, ...}: {
|
||||
wrappers.mangohud = {
|
||||
basePackage = pkgs.mangohud;
|
||||
env.MANGOHUD_CONFIGFILE.value = ./mangohud.conf;
|
||||
};
|
||||
}
|
31
wrappers/common-desktop/mangohud/mangohud.conf
Normal file
31
wrappers/common-desktop/mangohud/mangohud.conf
Normal file
|
@ -0,0 +1,31 @@
|
|||
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"
|
21
wrappers/common-desktop/vscode/default.nix
Normal file
21
wrappers/common-desktop/vscode/default.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{pkgs, ...}: {
|
||||
wrappers.vscode = {
|
||||
basePackage = pkgs.vscodium;
|
||||
|
||||
pathAdd = with pkgs.vscode-extensions; [
|
||||
mkhl.direnv
|
||||
eamodio.gitlens
|
||||
jnoortheen.nix-ide
|
||||
timonwong.shellcheck
|
||||
usernamehw.errorlens
|
||||
ritwickdey.liveserver
|
||||
dbaeumer.vscode-eslint
|
||||
esbenp.prettier-vscode
|
||||
oderwat.indent-rainbow
|
||||
astro-build.astro-vscode
|
||||
pkief.material-icon-theme
|
||||
streetsidesoftware.code-spell-checker
|
||||
arcticicestudio.nord-visual-studio-code
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue