Joey Hafner
d002643347
- WIP: Installer configuration to be used for portable or new systems. - Add defaultApps (zen for links, codium for plain text). - Refactor Ollama (AI) to skip model selection, WIP "codewriter" model. - Password-manager: Switch to wayland package for rofi-rbw, increase lock timeout. - Add mangohud config that shows FPS, frame time, throttling status in a horizontal layout below OW's HUD. - Add nixGL config to use mesa and vulkan. - Refactor configuration.nix as a "hub" file that just imports other files. - amdgpu: Remove problematic amdvlk driver. Was causing misbehavior in Overwatch. - gaming: Add gamescope and gamemode.
44 lines
976 B
Nix
44 lines
976 B
Nix
{ lib, ... }: {
|
|
programs.mangohud = {
|
|
enable = true;
|
|
settings = {
|
|
# Metrics
|
|
cpu_stats = 0;
|
|
gpu_stats = 0;
|
|
frame_timing = 0;
|
|
vram = 0;
|
|
fps = 1;
|
|
fps_color_change = 1;
|
|
fps_value = "59,239";
|
|
frametime = 1;
|
|
# Env info
|
|
vulkan_driver = 1;
|
|
gamemode = 1;
|
|
present_mode = 0;
|
|
throttling_status = 1;
|
|
# Graphs
|
|
graphs = "";
|
|
# Appearance & presentation
|
|
legacy_layout = 1;
|
|
hud_no_margin = 1;
|
|
font_size = lib.mkForce 14;
|
|
no_small_font = 1;
|
|
position = "top-left";
|
|
offset_x = 3;
|
|
offset_y = 24;
|
|
width = 0;
|
|
height = 0;
|
|
table_columns = 0;
|
|
horizontal = 1;
|
|
horizontal_stretch = 0;
|
|
hud_compact = 1;
|
|
toggle_hud = "Shift_R+F12";
|
|
background_alpha = lib.mkForce 0.5;
|
|
alpha = lib.mkForce 1.0;
|
|
};
|
|
};
|
|
}
|
|
|
|
# OW HUD background: #1d253a
|
|
# OW HUD text: #b2bedc
|
|
# cat ~/.config/MangoHud/MangoHud.conf |