default.nix (1218B)
1 { user, ... }: 2 { 3 home-manager.users.${user}.programs.mangohud = { 4 enable = true; 5 enableSessionWide = true; 6 settings = { 7 toggle_hud = "Super_L+M"; 8 no_display = true; 9 10 toggle_fps_limit = "Super_L+T"; 11 fps_limit = [ 12 0 13 60 14 30 15 ]; 16 17 background_color = "000000"; 18 position = "top-left"; 19 text_color = "ffffff"; 20 round_corners = 0; 21 table_columns = 3; 22 background_alpha = 0.8; 23 font_size = 24; 24 25 legacy_layout = false; 26 27 fps = true; 28 29 gpu_stats = true; 30 gpu_temp = true; 31 gpu_load_change = true; 32 gpu_load_value = [ 33 50 34 90 35 ]; 36 gpu_load_color = [ 37 "ffffff" 38 "ffaa7f" 39 "cc0000" 40 ]; 41 gpu_text = "GPU"; 42 43 vram = true; 44 vram_color = "ad64c1"; 45 46 cpu_stats = true; 47 cpu_temp = true; 48 cpu_load_change = true; 49 cpu_load_value = [ 50 50 51 90 52 ]; 53 cpu_load_color = [ 54 "ffffff" 55 "ffaa7f" 56 "cc0000" 57 ]; 58 cpu_text = "CPU"; 59 60 ram = true; 61 ram_color = "c26693"; 62 63 frame_timing = true; 64 frametime_color = "00ff00"; 65 66 vkbasalt = true; 67 }; 68 }; 69 }