Add MangoHud module and enable it on hosts

Introduce a new `mangohud.nix` module with sensible defaults, import it
in
`modules/home/default.nix`, and add a `mangohud.enable` flag to the host
configurations (enabled for desktop and laptop, disabled for the default
host).

Comment out the default Gamescope arguments in `modules/core/steam.nix`
and
add a reference command line that includes the MangoHud flag.
This commit is contained in:
2026-06-14 16:53:27 +02:00
parent b4f1d2381a
commit 4eba766188
6 changed files with 86 additions and 8 deletions
+1
View File
@@ -35,6 +35,7 @@ _: {
Gaming
*/
lutris.enable = false; # Lutris: an open gaming platform
mangohud.enable = true; # MangoHud: Vulkan and OpenGL overlay for monitoring FPS, temperatures, CPU/GPU load and more
/*
Media recording and streaming
+1
View File
@@ -35,6 +35,7 @@ _: {
Gaming
*/
lutris.enable = false; # Lutris: an open gaming platform
mangohud.enable = true; # MangoHud: Vulkan and OpenGL overlay for monitoring FPS, temperatures, CPU/GPU load and more
/*
Media recording and streaming
+1
View File
@@ -35,6 +35,7 @@ _: {
Gaming
*/
lutris.enable = false; # Lutris: an open gaming platform
mangohud.enable = false; # MangoHud: Vulkan and OpenGL overlay for monitoring FPS, temperatures, CPU/GPU load and more
/*
Media recording and streaming