37 lines
822 B
Nix
37 lines
822 B
Nix
{ den, ... }: {
|
|
den.aspects.steam.nixos = { pkgs, ... }: {
|
|
programs.steam = {
|
|
enable = true;
|
|
|
|
remotePlay.openFirewall = false;
|
|
dedicatedServer.openFirewall = false;
|
|
localNetworkGameTransfers.openFirewall = true;
|
|
gamescopeSession.enable = true;
|
|
protontricks.enable = true;
|
|
|
|
extraCompatPackages = with pkgs; [
|
|
proton-ge-bin
|
|
];
|
|
|
|
# Extra packages that steam might need
|
|
extraPackages = with pkgs; [
|
|
xorg.libXcursor
|
|
xorg.libXi
|
|
xorg.libXinerama
|
|
xorg.libXScrnSaver
|
|
libpng
|
|
libpulseaudio
|
|
libvorbis
|
|
stdenv.cc.cc.lib
|
|
libkrb5
|
|
keyutils
|
|
];
|
|
};
|
|
|
|
# Fonts for better game text rendering
|
|
fonts.packages = with pkgs; [
|
|
liberation_ttf
|
|
wqy_zenhei
|
|
];
|
|
};
|
|
}
|