system: Add Game module
This commit is contained in:
parent
e098439c67
commit
8cf14d59c8
@ -115,6 +115,7 @@
|
||||
"float, ^(feh)$"
|
||||
"float, ^(mpv)$"
|
||||
"float, ^(nmtui)$"
|
||||
"float, title:^(Список друзей)"
|
||||
];
|
||||
|
||||
exec-once = [
|
||||
|
@ -3,6 +3,7 @@
|
||||
./hardware-configuration.nix
|
||||
../../packages.nix
|
||||
../../modules/bundle.nix
|
||||
../../modules/gamemode.nix
|
||||
];
|
||||
|
||||
networking.hostName = "Rias";
|
||||
|
16
nixos/modules/gamemode.nix
Normal file
16
nixos/modules/gamemode.nix
Normal 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";
|
||||
};
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user