2023-12-11 12:57:15 +01:00
|
|
|
{pkgs, lib, ...}:
|
|
|
|
{
|
|
|
|
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
|
|
|
"steam"
|
|
|
|
"steam-original"
|
|
|
|
"steam-run"
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
};
|
|
|
|
|
|
|
|
environment.systemPackages = [
|
|
|
|
pkgs.steam-run
|
2024-04-18 01:05:45 +02:00
|
|
|
pkgs.unstable.alvr
|
|
|
|
pkgs.openvr
|
|
|
|
pkgs.openhmd
|
|
|
|
pkgs.sidequest
|
|
|
|
pkgs.mplayer
|
|
|
|
pkgs.appimage-run
|
2023-12-11 12:57:15 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
}
|