description:Extra args to pass to the planner (prefer using structured `with:` arguments unless using a custom planner!)
required:false
github-token:
description:A Github Token so that authenticated requests can be made (set this to `secrets.GITHUB_TOKEN`)
channels:
description:Channel(s) to add (eg `nixpkgs=https://nixos.org/channels/nixpkgs-unstable`)
required:false
modify-profile:
description:Modify the user profile to automatically load nix
required:false
nix-build-user-count:
description:Number of build users to create
required:false
nix-build-group-name:
description:The Nix build group name
required:false
nix-build-group-id:
description:The Nix build group GID
required:false
nix-build-user-prefix:
description:The Nix build user prefix (user numbers will be postfixed)
required:false
nix-build-user-base:
description:The Nix build user base UID (ascending)
required:false
nix-package-url:
description:The Nix package URL
required:false
extra-conf:
description:Extra configuration lines for `/etc/nix.conf` (includes `access-tokens` with `secrets.GITHUB_TOKEN` automatically if `github-token` is set)
required:false
mac-encrypt:
description:Force encryption on the volume (Mac only)
required:false
mac-case-sensitive:
description:Use a case sensitive volume (Mac only)
required:false
mac-volume-label:
description:The label for the created APFS volume (Mac only)
required:false
mac-root-disk:
description:The root disk of the target (Mac only)
required:false
nix-installer-url:
description:A URL pointing to a `nix-installer.sh` script
required:false
logger:
description:The logger to use for install (eg. `pretty`, `json`, `full`, `compact`)
required:false
local-root:
description:A local `nix-installer` binary root, overrides the `nix-installer-url` setting (a `nix-installer.sh` should exist, binaries should be named `nix-installer-$ARCH`, eg. `nix-installer-x86_64-linux`)
required:false
log-directives:
description: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)
required:false
backtrace:
description:The setting for `RUST_BACKTRACE` (see https://doc.rust-lang.org/std/backtrace/index.html#environment-variables)
required:false
nix-installer-tag:
description:The tag of `nix-installer` to use
required:false
nix-installer-revision:
description:The revision of `nix-installer` to use
echo "Detection of existing installation versions isn't supported when `nix-installer-revision` or `nix-installer-branch` are set, `reinstall: true` should also be set"
echo "`nix-installer` version mismatch, use `reinstall: true` to reinstall Nix using the new `nix-installer` version (consider backing up `/nix/store`)"