No description
  • Shell 79.6%
  • Ruby 20.4%
Find a file
Samuel Dionne-Riel 7b7f14d320
Merge pull request #16 from Mynacol/non-github
Only add default github token if on github.com
2026-02-22 18:02:34 -05:00
.github/workflows CI: Drop now unsupported x86_64 mac system 2026-02-15 15:54:18 -05:00
support support: Import update-readme to project 2025-02-26 23:16:51 -05:00
.gitignore Initial release 2025-01-19 18:18:20 -05:00
action.yml Pin cache action with full revision identifier 2025-10-27 09:40:35 -04:00
COPYING COPYING: same as Lix 2025-01-19 18:18:20 -05:00
do-the-lix-thing Only add default github token if on github.com 2026-02-20 20:59:00 +00:00
README.md Add an extra nix config parameter 2025-02-28 08:41:43 -05:00

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 the flake: ref, as the flake: 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...