mirror of
https://github.com/cachix/install-nix-action.git
synced 2025-11-06 23:49:13 +00:00
docs: update the ci badge
Some checks failed
install-nix-action test / act-support (push) Failing after 1s
install-nix-action test / test (nix-2.18.6, macos-15, aarch64-darwin) (push) Has been cancelled
install-nix-action test / test (nix-2.18.6, macos-15-intel, x86_64-darwin) (push) Has been cancelled
install-nix-action test / test (nix-2.18.6, macos-26, aarch64-darwin) (push) Has been cancelled
install-nix-action test / test (nix-2.18.6, macos-latest, aarch64-darwin) (push) Has been cancelled
install-nix-action test / test (nix-2.8.0, macos-13, x86_64-darwin) (push) Has been cancelled
install-nix-action test / test (nix-2.8.0, macos-14, aarch64-darwin) (push) Has been cancelled
install-nix-action test / test (nix-2.8.0, ubuntu-22.04, x86_64-linux) (push) Has been cancelled
install-nix-action test / test (nix-2.8.0, ubuntu-22.04-arm, aarch64-linux) (push) Has been cancelled
install-nix-action test / test (nix-2.8.0, ubuntu-24.04-arm, aarch64-linux) (push) Has been cancelled
install-nix-action test / test (nix-2.8.0, ubuntu-latest, x86_64-linux) (push) Has been cancelled
Some checks failed
install-nix-action test / act-support (push) Failing after 1s
install-nix-action test / test (nix-2.18.6, macos-15, aarch64-darwin) (push) Has been cancelled
install-nix-action test / test (nix-2.18.6, macos-15-intel, x86_64-darwin) (push) Has been cancelled
install-nix-action test / test (nix-2.18.6, macos-26, aarch64-darwin) (push) Has been cancelled
install-nix-action test / test (nix-2.18.6, macos-latest, aarch64-darwin) (push) Has been cancelled
install-nix-action test / test (nix-2.8.0, macos-13, x86_64-darwin) (push) Has been cancelled
install-nix-action test / test (nix-2.8.0, macos-14, aarch64-darwin) (push) Has been cancelled
install-nix-action test / test (nix-2.8.0, ubuntu-22.04, x86_64-linux) (push) Has been cancelled
install-nix-action test / test (nix-2.8.0, ubuntu-22.04-arm, aarch64-linux) (push) Has been cancelled
install-nix-action test / test (nix-2.8.0, ubuntu-24.04-arm, aarch64-linux) (push) Has been cancelled
install-nix-action test / test (nix-2.8.0, ubuntu-latest, x86_64-linux) (push) Has been cancelled
This commit is contained in:
parent
b8a94d3614
commit
0b2de19be5
1 changed files with 5 additions and 5 deletions
10
README.md
10
README.md
|
|
@ -1,6 +1,6 @@
|
||||||
# install-nix-action
|
# install-nix-action
|
||||||
|
|
||||||

|
[](https://github.com/cachix/install-nix-action/actions/workflows/test.yml)
|
||||||
|
|
||||||
Installs [Nix](https://nixos.org/nix/) on GitHub Actions runners for Linux and macOS.
|
Installs [Nix](https://nixos.org/nix/) on GitHub Actions runners for Linux and macOS.
|
||||||
|
|
||||||
|
|
@ -58,7 +58,7 @@ jobs:
|
||||||
|
|
||||||
| Name | Description | Default |
|
| Name | Description | Default |
|
||||||
|------|-------------|---------|
|
|------|-------------|---------|
|
||||||
| `install_url` | URL to install Nix from. Useful for testing non-stable releases or pinning a specific Nix version (e.g., https://releases.nixos.org/nix/nix-2.3.7/install) | `""` |
|
| `install_url` | URL to install Nix from. Useful for testing non-stable releases or pinning a specific Nix version (e.g., <https://releases.nixos.org/nix/nix-2.3.7/install>) | `""` |
|
||||||
| `install_options` | Additional flags to pass to the Nix installer script | `""` |
|
| `install_options` | Additional flags to pass to the Nix installer script | `""` |
|
||||||
| `extra_nix_config` | Additional configuration to append to `/etc/nix/nix.conf` | `""` |
|
| `extra_nix_config` | Additional configuration to append to `/etc/nix/nix.conf` | `""` |
|
||||||
| `nix_path` | Value to set for the `NIX_PATH` environment variable (e.g., `nixpkgs=channel:nixos-unstable`) | `""` |
|
| `nix_path` | Value to set for the `NIX_PATH` environment variable (e.g., `nixpkgs=channel:nixos-unstable`) | `""` |
|
||||||
|
|
@ -66,7 +66,6 @@ jobs:
|
||||||
| `set_as_trusted_user` | Add the current user to the `trusted-users` list | `true` |
|
| `set_as_trusted_user` | Add the current user to the `trusted-users` list | `true` |
|
||||||
| `enable_kvm` | Enable KVM for hardware-accelerated virtualization on Linux | `true` |
|
| `enable_kvm` | Enable KVM for hardware-accelerated virtualization on Linux | `true` |
|
||||||
|
|
||||||
|
|
||||||
## Differences from the default Nix installer
|
## Differences from the default Nix installer
|
||||||
|
|
||||||
Some settings have been optimised for use in CI environments:
|
Some settings have been optimised for use in CI environments:
|
||||||
|
|
@ -196,8 +195,9 @@ nix develop --impure
|
||||||
In multi-user mode, Nix commands that operate on the Nix store are forwarded to a privileged daemon. This daemon runs in a separate context from your GitHub Actions workflow and cannot access the workflow's environment variables. Consequently, any secrets or credentials defined in your workflow environment will not be available to Nix operations that require store access.
|
In multi-user mode, Nix commands that operate on the Nix store are forwarded to a privileged daemon. This daemon runs in a separate context from your GitHub Actions workflow and cannot access the workflow's environment variables. Consequently, any secrets or credentials defined in your workflow environment will not be available to Nix operations that require store access.
|
||||||
|
|
||||||
There are two ways to pass AWS credentials to the Nix daemon:
|
There are two ways to pass AWS credentials to the Nix daemon:
|
||||||
- Configure a default profile using the AWS CLI
|
|
||||||
- Install Nix in single-user mode
|
- Configure a default profile using the AWS CLI
|
||||||
|
- Install Nix in single-user mode
|
||||||
|
|
||||||
#### Configure a default profile using the AWS CLI
|
#### Configure a default profile using the AWS CLI
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue