Celeste: Difference between revisions
UlyssesZhan (talk | contribs) Created page with "{{unfree}} {{note|Only x86_64-linux system is supported.}} [https://www.celestegame.com Celeste] is a precision platformer game about climbing a mountain. This page explains how to play the game, possibly with mods, on NixOS. You may seek further support about Celeste on NixOS in a [https://discord.com/channels/403698615446536203/1236055875282800741 thread] in the Discord server for Celeste. == Base game installation == Celeste is not free (as in free beer) for downl..." |
Add section about using impure env vars |
||
| (One intermediate revision by one other user not shown) | |||
| Line 14: | Line 14: | ||
or use the {{nixos:package|celestegame}} package. | or use the {{nixos:package|celestegame}} package. | ||
For using the <code>celestegame</code> package | For using the <code>celestegame</code> package follow one of the 3 methodes: | ||
=== Manual Updates === | |||
First download the Linux version of Celeste on [https://maddymakesgamesinc.itch.io/celeste itch.io], | |||
and then add it to Nix store by running this command: | and then add it to Nix store by running this command: | ||
| Line 23: | Line 26: | ||
You can then install Celeste by the <code>celestegame</code> package on Nixpkgs. | You can then install Celeste by the <code>celestegame</code> package on Nixpkgs. | ||
=== Automatic Updates === | |||
For automatic updates you need to let the nix daemon know of your itch.io API key you can get one on [https://itch.io/user/settings/api-keys]. | |||
On NixOS you can do this by adding an <code>EnvironmentFile</code> to the systemd service staring the nix-daemon and adding the API key to the <code>EnvironmentFile</code> specified you can see an example below. | |||
<syntaxhighlight lang="nix"> | |||
{ | |||
systemd.services.nix-daemon.serviceConfig.EnvironmentFile = "/path/to/file/with/env/vars"; | |||
} | |||
</syntaxhighlight> | |||
<syntaxhighlight lang="bash"> | |||
NIX_ITCHIO_API_KEY=my_secret_api_key | |||
</syntaxhighlight> | |||
=== None itch.io version === | |||
You can override the source to use something other than the itch.io version, | You can override the source to use something other than the itch.io version, | ||
| Line 162: | Line 185: | ||
It can be installed using the {{nixos:package|everest-mons}} package. | It can be installed using the {{nixos:package|everest-mons}} package. | ||
However, it is not advised to use Mons because it is now outdated and does not work with the current modding ecosystem anymore. | However, it is not advised to use Mons because it is now outdated and does not work with the current modding ecosystem anymore. | ||
[[Category:Gaming]] | |||
[[Category:Applications]] | |||