Rebase on top of detsys-ts for abstracting over install.determinate.systems #74
12
README.md
12
README.md
|
@ -83,7 +83,7 @@ Differing from the upstream [Nix](https://github.com/NixOS/nix) installer script
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
| Parameter | Description | Type | Default |
|
| Parameter | Description | Type | Default |
|
||||||
| :----------------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :----------------------------------------- | :------------------------------------------------------------- |
|
| :---------------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :----------------------------------------- | :------------------------------------------------------------- |
|
||||||
| `backtrace` | The setting for [`RUST_BACKTRACE`][backtrace] | string | |
|
| `backtrace` | The setting for [`RUST_BACKTRACE`][backtrace] | string | |
|
||||||
| `extra-args` | Extra arguments to pass to the planner (prefer using structured `with:` arguments unless using a custom [planner]!) | string | |
|
| `extra-args` | Extra arguments to pass to the planner (prefer using structured `with:` arguments unless using a custom [planner]!) | string | |
|
||||||
| `extra-conf` | Extra configuration lines for `/etc/nix/nix.conf` (includes `access-tokens` with `secrets.GITHUB_TOKEN` automatically if `github-token` is set) | string | |
|
| `extra-conf` | Extra configuration lines for `/etc/nix/nix.conf` (includes `access-tokens` with `secrets.GITHUB_TOKEN` automatically if `github-token` is set) | string | |
|
||||||
|
@ -106,11 +106,11 @@ Differing from the upstream [Nix](https://github.com/NixOS/nix) installer script
|
||||||
| `nix-build-user-base` | The Nix build user base UID (ascending) | integer | |
|
| `nix-build-user-base` | The Nix build user base UID (ascending) | integer | |
|
||||||
| `nix-build-user-count` | The number of build users to create | integer | 32 |
|
| `nix-build-user-count` | The number of build users to create | integer | 32 |
|
||||||
| `nix-build-user-prefix` | The Nix build user prefix (user numbers will be postfixed) | string | |
|
| `nix-build-user-prefix` | The Nix build user prefix (user numbers will be postfixed) | string | |
|
||||||
| `nix-installer-branch` | The branch of `nix-installer` to use (conflicts with the `nix-installer-tag`, `nix-installer-revision`, and `nix-installer-branch`) | string | |
|
| `source-branch` | The branch of `nix-installer` to use (conflicts with the `source-tag`, `source-revision`, and `source-branch`) | string | |
|
||||||
| `nix-installer-pr` | The pull request of `nix-installer` to use (conflicts with `nix-installer-tag`, `nix-installer-revision`, and `nix-installer-branch`) | integer | |
|
| `source-pr` | The pull request of `nix-installer` to use (conflicts with `source-tag`, `source-revision`, and `source-branch`) | integer | |
|
||||||
| `nix-installer-revision` | The revision of `nix-installer` to use (conflicts with `nix-installer-tag`, `nix-installer-branch`, and `nix-installer-pr`) | string | |
|
| `source-revision` | The revision of `nix-installer` to use (conflicts with `source-tag`, `source-branch`, and `source-pr`) | string | |
|
||||||
| `nix-installer-tag` | The tag of `nix-installer` to use (conflicts with `nix-installer-revision`, `nix-installer-branch`, `nix-installer-pr`) | string | |
|
| `source-tag` | The tag of `nix-installer` to use (conflicts with `source-revision`, `source-branch`, `source-pr`) | string | |
|
||||||
| `nix-installer-url` | A URL pointing to a `nix-installer.sh` script | URL | `https://install.determinate.systems/nix` |
|
| `source-url` | A URL pointing to a `nix-installer.sh` script | URL | `https://install.determinate.systems/nix` |
|
||||||
| `nix-package-url` | The Nix package URL | URL | |
|
| `nix-package-url` | The Nix package URL | URL | |
|
||||||
| `planner` | The installation [planner] to use | enum (`linux` or `macos`) | |
|
| `planner` | The installation [planner] to use | enum (`linux` or `macos`) | |
|
||||||
| `reinstall` | Force a reinstall if an existing installation is detected (consider backing up `/nix/store`) | Boolean | `false` |
|
| `reinstall` | Force a reinstall if an existing installation is detected (consider backing up `/nix/store`) | Boolean | `false` |
|
||||||
|
|
33
action.yml
33
action.yml
|
@ -79,19 +79,19 @@ inputs:
|
||||||
nix-build-user-prefix:
|
nix-build-user-prefix:
|
||||||
description: The Nix build user prefix (user numbers will be postfixed)
|
description: The Nix build user prefix (user numbers will be postfixed)
|
||||||
required: false
|
required: false
|
||||||
nix-installer-branch:
|
source-branch:
|
||||||
description: The branch of `nix-installer` to use (conflicts with `nix-installer-tag`, `nix-installer-revision`, `nix-installer-pr`)
|
description: The branch of `nix-installer` to use (conflicts with `source-tag`, `source-revision`, `source-pr`)
|
||||||
required: false
|
required: false
|
||||||
nix-installer-pr:
|
source-pr:
|
||||||
description: The PR of `nix-installer` to use (conflicts with `nix-installer-tag`, `nix-installer-revision`, `nix-installer-branch`)
|
description: The PR of `nix-installer` to use (conflicts with `source-tag`, `source-revision`, `source-branch`)
|
||||||
required: false
|
required: false
|
||||||
nix-installer-revision:
|
source-revision:
|
||||||
description: The revision of `nix-installer` to use (conflicts with `nix-installer-tag`, `nix-installer-branch`, `nix-installer-pr`)
|
description: The revision of `nix-installer` to use (conflicts with `source-tag`, `source-branch`, `source-pr`)
|
||||||
required: false
|
required: false
|
||||||
nix-installer-tag:
|
source-tag:
|
||||||
description: The tag of `nix-installer` to use (conflicts with `nix-installer-revision`, `nix-installer-branch`, `nix-installer-pr`)
|
description: The tag of `nix-installer` to use (conflicts with `source-revision`, `source-branch`, `source-pr`)
|
||||||
required: false
|
required: false
|
||||||
nix-installer-url:
|
source-url:
|
||||||
description: A URL pointing to a `nix-installer.sh` script
|
description: A URL pointing to a `nix-installer.sh` script
|
||||||
required: false
|
required: false
|
||||||
nix-package-url:
|
nix-package-url:
|
||||||
|
@ -114,6 +114,21 @@ inputs:
|
||||||
trust-runner-user:
|
trust-runner-user:
|
||||||
description: Whether to make the runner user trusted by the Nix daemon
|
description: Whether to make the runner user trusted by the Nix daemon
|
||||||
default: "true"
|
default: "true"
|
||||||
|
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
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: "node20"
|
using: "node20"
|
||||||
|
|
Loading…
Reference in a new issue