mirror of
https://github.com/divnix/digga.git
synced 2024-12-27 01:52:21 +03:00
5d8413a85a
The `specialArgs` defined in `hosts` has kept some modules from working in external flakes. Instead, we simply enumerate packages in `hosts` which should be pulled from `unstablePkgs`.
32 lines
776 B
Nix
32 lines
776 B
Nix
{ pkgs, ... }: {
|
|
imports = [ ../graphical ./udev.nix ];
|
|
environment.systemPackages = with pkgs; [
|
|
retroarchBare
|
|
steam-run
|
|
pcsx2
|
|
qjoypad
|
|
];
|
|
|
|
services.wii-u-gc-adapter.enable = true;
|
|
|
|
services.gamemode.enable = true;
|
|
|
|
# fps games on laptop need this
|
|
services.xserver.libinput.disableWhileTyping = false;
|
|
|
|
# Launch steam from display managers
|
|
services.xserver.windowManager.steam = { enable = true; };
|
|
|
|
# 32-bit support needed for steam
|
|
hardware.opengl.driSupport32Bit = true;
|
|
hardware.pulseaudio.support32Bit = true;
|
|
|
|
hardware.steam-hardware.enable = true;
|
|
|
|
# better for steam proton games
|
|
systemd.extraConfig = "DefaultLimitNOFILE=1048576";
|
|
|
|
# improve wine performance
|
|
environment.sessionVariables = { WINEDEBUG = "-all"; };
|
|
}
|