ark/profiles/games/default.nix

22 lines
537 B
Nix
Raw Normal View History

2019-12-26 10:17:26 +03:00
{ pkgs, ... }:
{
imports = [ ../graphical ./udev.nix ];
environment.systemPackages = with pkgs;
[ retroarchBare steam steam-run ];
# fps games on laptop need this
services.xserver.libinput.disableWhileTyping = false;
# 32-bit support needed for steam
hardware.opengl.driSupport32Bit = true;
hardware.pulseaudio.support32Bit = true;
# better for steam proton games
systemd.extraConfig = "DefaultLimitNOFILE=1048576";
# improve wine performance
environment.sessionVariables = {
WINEDEBUG = "-all";
};
}