actions-marketplace-validations/Install Nix
Installs Nix on GitHub Actions for the supported platforms: Linux and macOS.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit Dec 11, 2025
- License
- Apache 2.0
Pinned Snippet
uses: actions-marketplace-validations/cachix_install-nix-action@4e002c8ec80594ecd40e759629461e26c8abed15 # no releases — HEAD as of 2026-07-12tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| 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_kvm | Enable KVM for hardware-accelerated virtualization on Linux, if available. | no | true |
| set_as_trusted_user | Add current user to `trusted-users`. | no | true |
Outputs
no outputs