add aspects/gaming/ modules
Gaming-related NixOS and home-manager configuration: flatpak, hardware, launchers, mangohud, steam Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
e6aed18d8f
commit
e8e62c81e3
5 changed files with 105 additions and 0 deletions
43
aspects/gaming/mangohud.nix
Normal file
43
aspects/gaming/mangohud.nix
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
flake.modules = {
|
||||
nixos.gaming-mangohud = { pkgs, ... }: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
mangohud
|
||||
];
|
||||
};
|
||||
|
||||
homeManager.gaming-mangohud = { config, ... }: {
|
||||
programs.mangohud = {
|
||||
enable = true;
|
||||
enableSessionWide = true;
|
||||
settings = {
|
||||
position = "top-left";
|
||||
fps = true;
|
||||
frametime = false;
|
||||
frame_timing = false;
|
||||
gpu_stats = true;
|
||||
gpu_temp = true;
|
||||
gpu_power = true;
|
||||
cpu_stats = true;
|
||||
cpu_temp = true;
|
||||
cpu_power = true;
|
||||
ram = true;
|
||||
vram = true;
|
||||
gamemode = false;
|
||||
vkbasalt = false;
|
||||
version = false;
|
||||
engine_version = false;
|
||||
vulkan_driver = false;
|
||||
wine = false;
|
||||
time = false;
|
||||
fps_sampling_period = 500;
|
||||
toggle_hud = "Shift_L+F12";
|
||||
toggle_logging = "Ctrl_L+F2";
|
||||
output_folder = "${config.home.homeDirectory}/.local/share/mangohud";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue