-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgaming.nix
39 lines (35 loc) · 976 Bytes
/
gaming.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{ config, pkgs, ... }:
{
environment.systemPackages = with pkgs; [
## WINE
# support both 32- and 64-bit applications
#wineWowPackages.stable
# support 32-bit only
#wine
# support 64-bit only
#(wine.override { wineBuild = "wine64"; })
# wine-staging (version with experimental features)
wineWowPackages.staging
# winetricks (all versions)
winetricks
# native wayland support (unstable)
wineWowPackages.waylandFull
(retroarch.override {
cores = with libretro; [
genesis-plus-gx
snes9x
beetle-psx-hw
nestopia
mupen64plus
];
})
gamemode
];
# Steam
programs.steam = {
enable = true;
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
package = with pkgs; steam.override { extraPkgs = pkgs: [ attr ]; };
};
}