I feel like I’ve come a long way learning Nix over the last year. But Steam still manages to elude me.
The documentation we have leaves some helpful breadcrumbs, but an idiot-proof walkthrough of installing and running a game would be greatly appreciated. I imagine I’m not alone
A free to play title like Dota or something would be good since anyone could reproduce the process for free.
Haven’t played Dota in a while but setup was pretty straightforward a couple of years ago, so this should get you started.
This section describes all steam-related configuration I have: GitHub - rasendubi/dotfiles: My dotfiles
Put these lines into your /etc/nixos/configuration.nix
file:
environment.systemPackages = [
pkgs.steam
];
hardware.opengl.driSupport32Bit = true;
hardware.pulseaudio.support32Bit = true;
After that, update the system and launch steam as usual. You should be able to play Dota.
Again, I haven’t tried this for a year or two, but I don’t see any reason that wouldn’t work today.
Yup as simple as that.
Maybe we should make a programs.steam.enable automatically sets those other 2 values to true automatically?
I’m hopeful of Lutris on NixOS to simplify Steam, adding games to steam-run
, Wine, emulators etc
I had no issue installing and running steam and games, even with proton.
I just followed the instructions in the wiki.
See my config: https://github.com/davidak/nixos-config/blob/69a516af83ec1093575a08ed363a7af13d79aee0/profiles/gaming.nix