Heroic Games Launcher
Heroic Games Launcher is an open-source launcher for GOG, Epic Games Store, and Amazon Prime Games, for Linux, Windows, and macOS. On NixOS, it fills a similar role to Lutris for running native and Windows games, and is also wrapped in a FHS environment.
Platform Support
Heroic in nixpkgs is only supported on x86_64-linux
. Upstream does not support 32-bit Linux. If you are on macOS, you should use the official builds from upstream, unless you are willing to take on maintaining the Heroic package in nixpkgs for nix-darwn. If you are using just Nix on any non-NixOS Linux distribution, you should use the official builds from upstream.
Optional Dependencies
Heroic has some optional dependencies, such as Gamescope and GameMode, that are not included in the FHS environment wrapper. If you want to use any of these, you need to override the Heroic package to pass extra packages.
(heroic.override {
extraPkgs = pkgs: [
pkgs.gamescope
];
})
For Gamescope and GameMode, you also need to enable these in your NixOS configuration.
programs.gamescope.enable = true;
programs.gamemode.enable = true;
See GameMode for additional setup information.