mirror of
https://github.com/cachix/install-nix-action.git
synced 2024-11-23 09:00:52 +00:00
Update README
This commit is contained in:
parent
859c1e74ef
commit
01dba9f770
1 changed files with 14 additions and 1 deletions
15
README.md
15
README.md
|
@ -18,7 +18,7 @@ or [pin nixpkgs yourself](https://nix.dev/reference/pinning-nixpkgs)
|
||||||
- Allows specifying extra Nix configuration options via `extra_nix_config`
|
- Allows specifying extra Nix configuration options via `extra_nix_config`
|
||||||
- Allows specifying `$NIX_PATH` and channels via `nix_path`
|
- Allows specifying `$NIX_PATH` and channels via `nix_path`
|
||||||
- Share `/nix/store` between builds using [cachix-action](https://github.com/cachix/cachix-action) for simple binary cache setup to speed up your builds and share binaries with your team
|
- Share `/nix/store` between builds using [cachix-action](https://github.com/cachix/cachix-action) for simple binary cache setup to speed up your builds and share binaries with your team
|
||||||
- Enables `flakes` and `nix-command` experimental features by default (to disable, set `experimental-features` via `extra_nix_config`)
|
- Enables KVM on supported machines: run VMs and NixOS tests with full hardware-acceleration
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
@ -75,6 +75,19 @@ To install Nix from any commit, go to [the corresponding installer_test action](
|
||||||
|
|
||||||
- `enable_kvm`: whether to enable KVM for hardware-accelerated virtualization on Linux. Enabled by default if available.
|
- `enable_kvm`: whether to enable KVM for hardware-accelerated virtualization on Linux. Enabled by default if available.
|
||||||
|
|
||||||
|
|
||||||
|
## Differences from the default Nix installer
|
||||||
|
|
||||||
|
Some settings have been optimised for use in CI environments:
|
||||||
|
|
||||||
|
- `nix.conf` settings:
|
||||||
|
|
||||||
|
- The experimental `flakes` and `nix-command` features are enabled. Disable by overriding `experimental-features` in `extra_nix_config`.
|
||||||
|
|
||||||
|
- `always-allow-substitutes` is set to `true`. Disable by overriding `always-allow-substitutes` in `extra_nix_config`.
|
||||||
|
|
||||||
|
- KVM is enabled if available. Disable by setting `enable_kvm: false`.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## FAQ
|
## FAQ
|
||||||
|
|
Loading…
Reference in a new issue