refactor home-manager

This commit is contained in:
♥ Minnie ♥ 2024-01-21 21:01:42 +08:00
parent a48829bbe6
commit caed1fc0d4
31 changed files with 243 additions and 270 deletions

View file

@ -0,0 +1,21 @@
{ pkgs, ... }:
{
imports = [
./mangohud.nix
];
home = {
packages = with pkgs; [
gamemode
protonup-ng
prismlauncher
runelite
];
persistence."/persist/home/sajenim" = {
directories = [
".runelite"
];
};
};
}

View 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;
};
};
}