alisonjenkins/Setup Host Nix

Configure a self-hosted runner to build via the NixOS host's Nix installation (mounted /run/current-system/sw + /nix and the host nix-daemon socket). Symlinks the nix binaries onto PATH and writes a nix.conf with flakes, caches, and tuning. Only works on self-hosted runners with the NixOS host mounts (see alisonjenkins/home-cluster nix-builder-common-values).

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 7, 2026
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: alisonjenkins/setup-host-nix@b5a0cadfd16c692fa8488e8fa4725c6afda0e2e6 # v1

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

namedescriptionrequireddefault
max-jobsnix max-jobs (concurrent derivations).no1
coresnix cores per job. max-jobs * cores bounds total compiler procs.no4
extra-substitutersSpace-separated extra binary cache substituters.nohttps://cache.nixcache.org https://nix-community.cachix.org https://cache.garnix.io
extra-trusted-public-keysSpace-separated trusted public keys for extra-substituters.nonixcache.org-1:fd7sIL2BDxZa68s/IqZ8kvDsxsjt3SV4mQKdROuPoak= nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs= cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=

no outputs