Skip to content

samueldr/lix-gha-installer-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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...

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published