complete restructure

This commit is contained in:
Melvin Ragusa
2026-02-04 22:53:00 +01:00
parent d516c95d65
commit c4cd70fd20
43 changed files with 985 additions and 1229 deletions

View File

@@ -0,0 +1,38 @@
# modules/gaming/gamemode.nix
# Gaming performance optimizations
{
config,
pkgs,
lib,
...
}:
{
programs.gamemode = {
enable = true;
enableRenice = true;
settings = {
general = {
renice = 10;
softrealtime = "auto";
inhibit_screensaver = 1;
};
gpu = {
apply_gpu_optimisations = "accept-responsibility";
gpu_device = 0;
amd_performance_level = "high";
};
};
};
boot.kernel.sysctl = {
"fs.inotify.max_user_watches" = 524288;
"vm.swappiness" = 10;
"vm.vfs_cache_pressure" = 50;
};
environment.systemPackages = with pkgs; [
gamemode
gamescope
];
}