cachix/Install Nix

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

View on GitHub

Trust Signals

Scorecard Score
Scorecard 2–4scored Jul 6, 2026
Maintenance Recency
Activelast commit Jul 9, 2026
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: cachix/install-nix-action@a49548c11d9846ad46ecc0115273879b045f001c # v31.10.7

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