actions-marketplace-validations/Install Nix

Installs Nix on GitHub Actions for the supported platforms: Linux and macOS.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Dec 11, 2025
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-marketplace-validations/cachix_install-nix-action@4e002c8ec80594ecd40e759629461e26c8abed15 # no releases — HEAD as of 2026-07-12

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
extra_nix_configGets appended to `/etc/nix/nix.conf` if passed.
github_access_tokenConfigure Nix to pull from GitHub using the given GitHub token.
install_urlInstallation URL that will contain a script to install Nix.
install_optionsAdditional installer flags passed to the installer script.
nix_pathSet NIX_PATH environment variable.
enable_kvmEnable KVM for hardware-accelerated virtualization on Linux, if available.notrue
set_as_trusted_userAdd current user to `trusted-users`.notrue

no outputs