You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nix can start the Steam FHS environment with the additional required packages directly from nix-shell. Scripts can autodetect a NixOS environment and reexec, instead of requiring the user to manually specify packages.
The following was from lilijoyskyseeker on the FAF Discord.
Instead of running in the Ubuntu Distrobox, run it on NixOS with this:
Make sure Steam is installed this way in your configuration.nix
# steamprograms.steam={enable=true;};
add
# steamprograms.steam={enable=true;# this here \/\/\/package=withpkgs;steam.override{extraPkgs=pkgs: [jqcabextractwget];};# this here /\/\/\};
rebuild your system
run the setup.sh with steam-run bash "<path-to-setup.sh>" (if you get spammed with a popup, just spam click OK)
follow the rest of the setup on the wiki substituting the command with being run with steam-run bash "<other-commands>"
Profit!
if you want you GUI to be able to launch the game after running install-shortcut.sh, find the .desktop file, mine was at ~/.local/share/application/com.faforever.faf-linux.desktop, and edit the Exec line to this: Exec=steam-run bash "<path-to-run>"
Nix can start the Steam FHS environment with the additional required packages directly from
nix-shell
. Scripts can autodetect a NixOS environment and reexec, instead of requiring the user to manually specify packages.The following was from lilijoyskyseeker on the FAF Discord.
SOLVED https://discord.com/channels/197033481883222026/1228471001633914950
Instead of running in the Ubuntu Distrobox, run it on NixOS with this:
configuration.nix
setup.sh
withsteam-run bash "<path-to-setup.sh>"
(if you get spammed with a popup, just spam click OK)steam-run bash "<other-commands>"
install-shortcut.sh
, find the.desktop
file, mine was at~/.local/share/application/com.faforever.faf-linux.desktop
, and edit theExec
line to this:Exec=steam-run bash "<path-to-run>"
many thanks again to <@261580158798921740>
maybe
The text was updated successfully, but these errors were encountered: