I’d be interested in applying Nix to Steam depots to download game-server contents and allow for easy installation using NixOS modules, has any work done in that regard? If not, I will proceed whenever I can allot time.
With this it would be feasible to add a fetchSteam function. The download_depot command is supported for fetching a pinned depot.
If you want to support non-free games, you’d have to require a login/password/steam-guard-id, which wouldn’t be feasible synchronously in a Nix evaluation, but it could certainly read from an external file.
I’ve been packaging various games for Nix for a while, including fetchSteam based on DepotDownloader. If it helps I could clean it up and contribute it to nixpkgs.
Did anyone have success running dedicated game-servers on Nixos? I can’t get the CS2 game server to run at all. It seems to be missing some libs even with steam-run
I’ve run a handful over the years with SteamCMD to acquire the data and steam-run to wrap the binary, on NixOS with or without systemd units. Satisfactory and ECO were the two latest and worked almost OOTB in that combination. Never picked out a Valve game in particular, though.
hey! is this something that you would be willing to clean up and implement for nixpkgs? if not, i will try my best to myself, but it’s quite the utility.