aldoborrero/Use Nix
Installs nix and runs direnv
View on GitHubTrust Signals
- Scorecard Score
- Scorecard 2–4scored Jul 13, 2026
- Maintenance Recency
- Stalelast commit Apr 9, 2024
- License
- MIT
Pinned Snippet
uses: aldoborrero/use-nix-action@3fa3bdff0a49c05518619f76d69f38da05d29cf2 # v5tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| enable_install_nix_action | Enables the usage of `cachix/install-nix-action. | — | true |
| extra_nix_config | Gets appended to `/etc/nix/nix.conf` if passed. | — | — |
| github_access_token | Configure nix to pull from github using the given github token. | — | — |
| install_url | Installation URL that will contain a script to install Nix. | — | — |
| install_options | Additional installer flags passed to the installer script. | — | — |
| nix_path | Set NIX_PATH environment variable. | — | — |
| enable_direnv_nix_action | Enables the usage of `aldoborrero/direnv-nix-action`. | — | true |
| use_nix_profile | Set to 'true' to use 'nix profile' for installation, otherwise 'nix-env' will be used. | — | false |
| nix_channel | Specify the nix channel nix will use to install `direnv` package. The default is `nixpkgs`. | — | nixpkgs |
Outputs
no outputs