nixos/Install Nix
Install Nix using the experimental nix-installer
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jul 5, 2026
- License
- LGPL
Pinned Snippet
uses: nixos/nix-installer-action@00b25e1d0d56f56e90ee9814fb4385c721348f74 # no releases — HEAD as of 2026-07-11tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| installer-version | Installer version to use from releases (default: latest) | no | latest |
| extra-conf | Extra configuration lines to append to /etc/nix/nix.conf | no | "" |
| logger | Logger format: compact, full, pretty, json | no | compact |
| verbosity | Verbosity level: 0 (info), 1 (debug), 2 (trace) | no | 0 |
| add-channel | Setup the default system channels | no | false |
| dogfood | Use a locally built installer instead of downloading from releases (for CI) | no | false |
| dogfood-path | Path to the locally built installer (used with dogfood) | no | "" |
| init | Init system configuration: auto (detect container), yes (use systemd/launchd), no (manual daemon) | no | auto |
| trust-runner-user | Add the current user to trusted-users in nix.conf | no | true |
| enable-kvm | Enable KVM for hardware-accelerated virtualization on Linux runners | no | true |
Outputs
no outputs