pub-solar-os/profiles/games/default.nix

32 lines
776 B
Nix
Raw Normal View History

{ pkgs, ... }: {
2020-06-18 02:14:37 +00:00
imports = [ ../graphical ./udev.nix ];
environment.systemPackages = with pkgs; [
2020-06-14 18:30:01 +00:00
retroarchBare
steam-run
pcsx2
qjoypad
];
2019-12-26 07:17:26 +00:00
services.wii-u-gc-adapter.enable = true;
2020-06-18 02:14:37 +00:00
services.gamemode.enable = true;
2019-12-26 07:17:26 +00:00
# fps games on laptop need this
services.xserver.libinput.disableWhileTyping = false;
# Launch steam from display managers
services.xserver.windowManager.steam = { enable = true; };
2019-12-26 07:17:26 +00:00
# 32-bit support needed for steam
hardware.opengl.driSupport32Bit = true;
hardware.pulseaudio.support32Bit = true;
2020-06-14 18:30:01 +00:00
hardware.steam-hardware.enable = true;
2019-12-26 07:17:26 +00:00
# better for steam proton games
systemd.extraConfig = "DefaultLimitNOFILE=1048576";
# improve wine performance
2020-01-04 05:06:31 +00:00
environment.sessionVariables = { WINEDEBUG = "-all"; };
2019-12-26 07:17:26 +00:00
}