determinatesystems/The Determinate Nix Installer
Install Nix with the Determinate Nix Installer. See: https://github.com/DeterminateSystems/nix-installer
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| backtrace | The setting for `RUST_BACKTRACE` (see https://doc.rust-lang.org/std/backtrace/index.html#environment-variables) | no | — |
| determinate | Whether to install [Determinate Nix](https://determinate.systems/enterprise) and log in to FlakeHub for private Flakes and binary caches. | — | true |
| extra-args | Extra args to pass to the planner (prefer using structured `with:` arguments unless using a custom planner!) | no | — |
| extra-conf | Extra configuration lines for `/etc/nix/nix.conf` (includes `access-tokens` with `secrets.GITHUB_TOKEN` automatically if `github-token` is set) | no | — |
| flakehub | Deprecated. Implies `determinate`. | no | false |
| force-no-systemd | Force using other methods than systemd to launch the daemon. This setting is automatically enabled when necessary. | no | false |
| github-token | A GitHub token for making authenticated requests (which have a higher rate-limit quota than unauthenticated requests) | — | ${{ github.token }} |
| github-server-url | The URL for the GitHub server, to use with the `github-token` token. Defaults to the current GitHub server, supporting GitHub Enterprise Server automatically. Only change this value if the provided `github-token` is for a different GitHub server than the current server. | — | ${{ github.server_url }} |
| init | The init system to configure, requires `planner: linux-multi` (allowing the choice between `none` or `systemd`) | no | — |
| job-status | The overall status of the job. Set automatically, for aggregate analysis of Nix stability. | — | ${{ job.status }} |
| kvm | Automatically configure the GitHub Actions Runner for NixOS test supports, if the host supports it. | no | true |
| local-root | A local `nix-installer` binary root, overrides any settings which change the `nix-installer` used (binaries should be named `nix-installer-$ARCH-$OS`, eg. `nix-installer-x86_64-linux`) | no | — |
| log-directives | A list of Tracing directives, comma separated, `-`s replaced with `_` (eg. `nix_installer=trace`, see https://docs.rs/tracing-subscriber/latest/tracing_subscriber/filter/struct.EnvFilter.html#directives) | no | — |
| logger | The logger to use for install (eg. `pretty`, `json`, `full`, `compact`) | no | — |
| ssl-cert-file | An SSL cert to use (if any), used for fetching Nix and sets `NIX_SSL_CERT_FILE` for Nix | no | — |
| proxy | The proxy to use (if any), valid proxy bases are `https://$URL`, `http://$URL` and `socks5://$URL` | no | — |
| mac-case-sensitive | Use a case sensitive volume (`planner: macos` only) | no | — |
| mac-encrypt | Force encryption on the volume (`planner: macos` only) | no | — |
| mac-root-disk | The root disk of the target (`planner: macos` only) | no | — |
| mac-volume-label | The label for the created APFS volume (`planner: macos` only) | no | — |
| modify-profile | Modify the user profile to automatically load nix | no | true |
| nix-build-group-id | The Nix build group GID | no | — |
| nix-build-group-name | The Nix build group name | no | — |
| nix-build-user-base | The Nix build user base UID (ascending) | no | — |
| nix-build-user-count | Number of build users to create | no | — |
| nix-build-user-prefix | The Nix build user prefix (user numbers will be postfixed) | no | — |
| source-binary | Run a version of the nix-installer binary from somewhere already on disk. Conflicts with all other `source-*` options. Intended only for testing this Action. | no | — |
| source-branch | The branch of `nix-installer` to use (conflicts with `source-tag`, `source-revision`, `source-pr`) | no | — |
| source-pr | The PR of `nix-installer` to use (conflicts with `source-tag`, `source-revision`, `source-branch`) | no | — |
| source-revision | The revision of `nix-installer` to use (conflicts with `source-tag`, `source-branch`, `source-pr`) | no | — |
| source-tag | The tag of `nix-installer` to use (conflicts with `source-revision`, `source-branch`, `source-pr`) | no | — |
| source-url | A URL pointing to a `nix-installer` executable | no | — |
| source-checksums-url | URL of a `shasum`-format checksums file listing the SHA-256 of each `nix-installer-<arch>-<os>` artifact. Used together with `source-checksums-sha256` to verify the downloaded installer. | no | — |
| source-checksums-sha256 | Pinned SHA-256 (hex) of the file served at `source-checksums-url`. Must be set together with `source-checksums-url`. | no | — |
| nix-package-url | The Nix package URL | no | — |
| planner | A planner to use | no | — |
| reinstall | Force a reinstall if an existing installation is detected (consider backing up `/nix/store`) | no | false |
| start-daemon | If the daemon should be started, requires `planner: linux` | no | true |
| diagnostic-endpoint | Diagnostic endpoint url where the installer sends data to. To disable set this to an empty string. | no | - |
| trust-runner-user | Whether to make the runner user trusted by the Nix daemon | — | true |
| summarize | Whether to add a build summary and timeline chart to the GitHub job summary | — | true |
| nix-installer-branch | (deprecated) The branch of `nix-installer` to use (conflicts with `nix-installer-tag`, `nix-installer-revision`, `nix-installer-pr`) | no | — |
| nix-installer-pr | (deprecated) The PR of `nix-installer` to use (conflicts with `nix-installer-tag`, `nix-installer-revision`, `nix-installer-branch`) | no | — |
| nix-installer-revision | (deprecated) The revision of `nix-installer` to use (conflicts with `nix-installer-tag`, `nix-installer-branch`, `nix-installer-pr`) | no | — |
| nix-installer-tag | (deprecated) The tag of `nix-installer` to use (conflicts with `nix-installer-revision`, `nix-installer-branch`, `nix-installer-pr`) | no | — |
| nix-installer-url | (deprecated) A URL pointing to a `nix-installer.sh` script | no | — |
| _internal-strict-mode | Whether to fail when any errors are thrown. Used only to test the Action; do not set this in your own workflows. | no | false |
Outputs
no outputs