2023-02-24 20:31:33 +01:00
name : The Determinate Nix Installer
2023-01-13 19:04:16 +01:00
branding :
2023-02-17 19:45:59 +01:00
icon : "box"
color : "purple"
2023-02-24 20:27:26 +01:00
description : "Install Nix with the Determinate Nix Installer. See: https://github.com/DeterminateSystems/nix-installer"
2023-01-13 19:04:16 +01:00
inputs :
2023-02-17 19:45:59 +01:00
backtrace :
description : The setting for `RUST_BACKTRACE` (see https://doc.rust-lang.org/std/backtrace/index.html#environment-variables)
2023-01-13 19:04:16 +01:00
required : false
2023-02-17 19:45:59 +01:00
extra-args :
description : Extra args to pass to the planner (prefer using structured `with:` arguments unless using a custom planner!)
2023-01-13 19:04:16 +01:00
required : false
2023-02-17 19:45:59 +01:00
extra-conf :
2023-02-24 20:05:08 +01:00
description : Extra configuration lines for `/etc/nix/nix.conf` (includes `access-tokens` with `secrets.GITHUB_TOKEN` automatically if `github-token` is set)
2023-01-13 19:04:16 +01:00
required : false
2023-10-04 23:35:16 +02:00
flakehub :
description : Automatically log in to your [FlakeHub](https://flakehub.com) account, for accessing private flakes.
required : false
default : false
2023-12-04 20:17:47 +01:00
force-docker-shim :
description : Force the use of Docker as a process supervisor. This setting is automatically enabled when necessary.
default : false
2023-02-17 19:45:59 +01:00
github-token :
description : A GitHub token for making authenticated requests (which have a higher rate-limit quota than unauthenticated requests)
default : ${{ github.token }}
2023-12-01 16:23:32 +01:00
github-server-url :
description : 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.
default : ${{ github.server_url }}
2023-02-17 19:45:59 +01:00
init :
description : "The init system to configure, requires `planner: linux-multi` (allowing the choice between `none` or `systemd`)"
2023-01-13 19:04:16 +01:00
required : false
2023-11-21 20:06:06 +01:00
kvm :
description : Automatically configure the GitHub Actions Runner for NixOS test supports, if the host supports it.
required : false
default : true
2023-02-17 19:45:59 +01:00
local-root :
2023-07-13 19:23:02 +02:00
description : 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`)
2023-01-13 19:04:16 +01:00
required : false
2023-02-17 19:45:59 +01:00
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)
2023-01-13 19:04:16 +01:00
required : false
2023-02-17 19:45:59 +01:00
logger :
description : The logger to use for install (eg. `pretty`, `json`, `full`, `compact`)
2023-01-13 19:04:16 +01:00
required : false
2023-03-16 18:02:22 +01:00
ssl-cert-file :
description : "An SSL cert to use (if any), used for fetching Nix and sets `NIX_SSL_CERT_FILE` for Nix"
required : false
2023-07-11 19:34:16 +02:00
proxy :
2023-03-16 18:02:22 +01:00
description : "The proxy to use (if any), valid proxy bases are `https://$URL`, `http://$URL` and `socks5://$URL`"
required : false
2023-02-17 19:45:59 +01:00
mac-case-sensitive :
description : "Use a case sensitive volume (`planner: macos` only)"
2023-01-13 19:04:16 +01:00
required : false
mac-encrypt :
2023-02-14 20:21:23 +01:00
description : "Force encryption on the volume (`planner: macos` only)"
2023-01-13 19:04:16 +01:00
required : false
2023-02-17 19:45:59 +01:00
mac-root-disk :
description : "The root disk of the target (`planner: macos` only)"
2023-01-13 19:04:16 +01:00
required : false
mac-volume-label :
2023-02-14 20:21:23 +01:00
description : "The label for the created APFS volume (`planner: macos` only)"
2023-01-13 19:04:16 +01:00
required : false
2023-02-17 19:45:59 +01:00
modify-profile :
description : Modify the user profile to automatically load nix
2023-01-13 19:04:16 +01:00
required : false
2023-07-12 19:24:35 +02:00
default : true
2023-02-17 19:45:59 +01:00
nix-build-group-id :
description : The Nix build group GID
2023-01-24 17:17:18 +01:00
required : false
2023-02-17 19:45:59 +01:00
nix-build-group-name :
description : The Nix build group name
2023-01-24 17:17:18 +01:00
required : false
2023-02-17 19:45:59 +01:00
nix-build-user-base :
description : The Nix build user base UID (ascending)
2023-01-13 19:04:16 +01:00
required : false
2023-02-17 19:45:59 +01:00
nix-build-user-count :
description : Number of build users to create
2023-01-13 19:04:16 +01:00
required : false
2023-02-17 19:45:59 +01:00
nix-build-user-prefix :
description : The Nix build user prefix (user numbers will be postfixed)
2023-01-13 19:04:16 +01:00
required : false
2024-04-11 17:58:56 +02:00
source-branch :
description : The branch of `nix-installer` to use (conflicts with `source-tag`, `source-revision`, `source-pr`)
2023-01-13 19:04:16 +01:00
required : false
2024-04-11 17:58:56 +02:00
source-pr :
description : The PR of `nix-installer` to use (conflicts with `source-tag`, `source-revision`, `source-branch`)
2023-02-17 19:45:59 +01:00
required : false
2024-04-11 17:58:56 +02:00
source-revision :
description : The revision of `nix-installer` to use (conflicts with `source-tag`, `source-branch`, `source-pr`)
2023-01-13 19:04:16 +01:00
required : false
2024-04-11 17:58:56 +02:00
source-tag :
description : The tag of `nix-installer` to use (conflicts with `source-revision`, `source-branch`, `source-pr`)
2023-01-13 19:04:16 +01:00
required : false
2024-04-11 17:58:56 +02:00
source-url :
2024-05-17 01:37:01 +02:00
description : A URL pointing to a `nix-installer` executable
2023-01-13 19:04:16 +01:00
required : false
2023-02-17 19:45:59 +01:00
nix-package-url :
description : The Nix package URL
2023-01-24 17:51:23 +01:00
required : false
2023-02-17 19:45:59 +01:00
planner :
description : A planner to use
2023-01-13 19:04:16 +01:00
required : false
2023-01-13 21:09:36 +01:00
reinstall :
2023-02-17 19:45:59 +01:00
description : Force a reinstall if an existing installation is detected (consider backing up `/nix/store`)
required : false
2023-07-12 19:24:35 +02:00
default : false
2023-02-17 19:45:59 +01:00
start-daemon :
2023-07-13 19:23:02 +02:00
description : "If the daemon should be started, requires `planner: linux`"
2023-01-16 18:13:18 +01:00
required : false
2023-07-12 19:24:35 +02:00
default : true
2023-03-01 09:03:06 +01:00
diagnostic-endpoint :
description : "Diagnostic endpoint url where the installer sends data to. To disable set this to an empty string."
2024-04-11 17:58:56 +02:00
default : "https://install.determinate.systems/nix-installer/diagnostic"
2023-02-17 19:45:59 +01:00
trust-runner-user :
description : Whether to make the runner user trusted by the Nix daemon
default : "true"
2024-04-11 17:58:56 +02:00
nix-installer-branch :
description : (deprecated) The branch of `nix-installer` to use (conflicts with `nix-installer-tag`, `nix-installer-revision`, `nix-installer-pr`)
required : false
nix-installer-pr :
description : (deprecated) The PR of `nix-installer` to use (conflicts with `nix-installer-tag`, `nix-installer-revision`, `nix-installer-branch`)
required : false
nix-installer-revision :
description : (deprecated) The revision of `nix-installer` to use (conflicts with `nix-installer-tag`, `nix-installer-branch`, `nix-installer-pr`)
required : false
nix-installer-tag :
description : (deprecated) The tag of `nix-installer` to use (conflicts with `nix-installer-revision`, `nix-installer-branch`, `nix-installer-pr`)
required : false
nix-installer-url :
description : (deprecated) A URL pointing to a `nix-installer.sh` script
required : false
2023-01-13 19:04:16 +01:00
runs :
2023-10-12 17:19:09 +02:00
using : "node20"
2024-04-11 17:58:56 +02:00
main : "dist/index.js"
post : "dist/index.js"