Simple and opinionated action to install Lix. Strictly follows the default semantics of a Lix install.
It mostly just runs the Lix Installer1.
Some differences:
- We use the
channel:
ref to Nixpkgs instead of theflake:
ref, as theflake:
ref may have issues within the GHA ecosystem, regarding rate-limiting. - We configure the current user as a trusted user.
A github token that is added as an entry on extra-access-tokens in nix.conf.
By default, the github.token
is configured. See https://docs.github.com/en/actions/security-for-github-actions/security-guides/automatic-token-authentication#permissions-for-the-github_token
for a description of the default token's permissions.
Additional configuration text to append to nix.conf. See https://docs.lix.systems/manual/lix/2.90/command-ref/conf-file.html for a description of the config file format.
1: And checks Nix is available, and also wraps with error reporting...