nix-config/nixos/_mixins/desktop/steam.nix

16 lines
501 B
Nix
Raw Permalink Normal View History

_: {
# https://nixos.wiki/wiki/Steam
fonts.fontconfig.cache32Bit = true;
hardware.steam-hardware.enable = true;
hardware.opengl.driSupport32Bit = true;
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
};
};
services.jack.alsa.support32Bit = true;
services.pipewire.alsa.support32Bit = true;
}