nixos/Install Nix

Install Nix using the experimental nix-installer

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 5, 2026
License
LGPL

Pinned Snippet

workflow.ymlSHA-pinned
uses: nixos/nix-installer-action@00b25e1d0d56f56e90ee9814fb4385c721348f74 # no releases — HEAD as of 2026-07-11

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

namedescriptionrequireddefault
installer-versionInstaller version to use from releases (default: latest)nolatest
extra-confExtra configuration lines to append to /etc/nix/nix.confno""
loggerLogger format: compact, full, pretty, jsonnocompact
verbosityVerbosity level: 0 (info), 1 (debug), 2 (trace)no0
add-channelSetup the default system channelsnofalse
dogfoodUse a locally built installer instead of downloading from releases (for CI)nofalse
dogfood-pathPath to the locally built installer (used with dogfood)no""
initInit system configuration: auto (detect container), yes (use systemd/launchd), no (manual daemon)noauto
trust-runner-userAdd the current user to trusted-users in nix.confnotrue
enable-kvmEnable KVM for hardware-accelerated virtualization on Linux runnersnotrue

no outputs