system: Add Game module

This commit is contained in:
Sweetbread 2024-08-26 01:01:46 +03:00
parent e098439c67
commit 8cf14d59c8
3 changed files with 18 additions and 0 deletions

View File

@ -115,6 +115,7 @@
"float, ^(feh)$" "float, ^(feh)$"
"float, ^(mpv)$" "float, ^(mpv)$"
"float, ^(nmtui)$" "float, ^(nmtui)$"
"float, title:^(Список друзей)"
]; ];
exec-once = [ exec-once = [

View File

@ -3,6 +3,7 @@
./hardware-configuration.nix ./hardware-configuration.nix
../../packages.nix ../../packages.nix
../../modules/bundle.nix ../../modules/bundle.nix
../../modules/gamemode.nix
]; ];
networking.hostName = "Rias"; networking.hostName = "Rias";

View File

@ -0,0 +1,16 @@
{pkgs, ...}: {
programs.steam.enable = true;
programs.steam.gamescopeSession.enable = true;
programs.gamemode.enable = true;
environment.systemPackages = with pkgs; [
mangohud
protonup
bottles
];
environment.sessionVariables = {
STEAM_EXTRA_COMPAT_TOOLS_PATHS =
"\${HOME}/.steam/root/compatibilitytools.d";
};
}