aldoborrero/Use Nix

Installs nix and runs direnv

View on GitHub

Trust Signals

Scorecard Score
Scorecard 2–4scored Jul 13, 2026
Maintenance Recency
Stalelast commit Apr 9, 2024
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: aldoborrero/use-nix-action@3fa3bdff0a49c05518619f76d69f38da05d29cf2 # v5

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

namedescriptionrequireddefault
enable_install_nix_actionEnables the usage of `cachix/install-nix-action.true
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_direnv_nix_actionEnables the usage of `aldoborrero/direnv-nix-action`.true
use_nix_profileSet to 'true' to use 'nix profile' for installation, otherwise 'nix-env' will be used.false
nix_channelSpecify the nix channel nix will use to install `direnv` package. The default is `nixpkgs`.nixpkgs

no outputs