refactor home-manager
This commit is contained in:
parent
a48829bbe6
commit
caed1fc0d4
31 changed files with 243 additions and 270 deletions
21
home-manager/sajenim/features/games/default.nix
Normal file
21
home-manager/sajenim/features/games/default.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./mangohud.nix
|
||||
];
|
||||
|
||||
home = {
|
||||
packages = with pkgs; [
|
||||
gamemode
|
||||
protonup-ng
|
||||
prismlauncher
|
||||
runelite
|
||||
];
|
||||
persistence."/persist/home/sajenim" = {
|
||||
directories = [
|
||||
".runelite"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
35
home-manager/sajenim/features/games/mangohud.nix
Normal file
35
home-manager/sajenim/features/games/mangohud.nix
Normal file
|
@ -0,0 +1,35 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.mangohud = {
|
||||
enable = true;
|
||||
package = pkgs.mangohud;
|
||||
settings = {
|
||||
# Performance
|
||||
fps_limit = 60;
|
||||
# GPU
|
||||
gpu_temp = true;
|
||||
gpu_junction_temp = true;
|
||||
gpu_core_clock = true;
|
||||
gpu_fan = true;
|
||||
gpu_voltage = true;
|
||||
|
||||
# CPU
|
||||
cpu_temp = true;
|
||||
cpu_mhz = true;
|
||||
|
||||
# FPS
|
||||
fps = true;
|
||||
frametime = false;
|
||||
frame_timing = false;
|
||||
|
||||
# Miscellaneous
|
||||
wine = true;
|
||||
gamemode = true;
|
||||
toggle_hud = "F9";
|
||||
|
||||
# Hud dimensions
|
||||
table_columns = 4;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue