mirror of
https://github.com/samueldr/lix-gha-installer-action.git
synced 2026-03-28 21:08:50 +00:00
No description
- Shell 79.6%
- Ruby 20.4%
|
|
||
|---|---|---|
| .github/workflows | ||
| support | ||
| .gitignore | ||
| action.yml | ||
| COPYING | ||
| do-the-lix-thing | ||
| README.md | ||
Lix GHA Installer Action
Simple and opinionated action to install Lix. Strictly follows the default semantics of a Lix install.
TLDR
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.
Configuring the action
github_access_token
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.
extra_nix_config
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...