You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+26-1
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ or [pin nixpkgs yourself](https://nix.dev/reference/pinning-nixpkgs)
18
18
- Allows specifying extra Nix configuration options via `extra_nix_config`
19
19
- Allows specifying `$NIX_PATH` and channels via `nix_path`
20
20
- 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
21
-
- Enables `flakes` and `nix-command` experimental features by default (to disable, set `experimental-features` via `extra_nix_config`)
21
+
- Enables KVM on supported machines: run VMs and NixOS tests with full hardware-acceleration
22
22
23
23
## Usage
24
24
@@ -75,6 +75,31 @@ To install Nix from any commit, go to [the corresponding installer_test action](
75
75
76
76
- `enable_kvm`: whether to enable KVM for hardware-accelerated virtualization on Linux. Enabled by default if available.
77
77
78
+
79
+
## Differences from the default Nix installer
80
+
81
+
Some settings have been optimised for use in CI environments:
82
+
83
+
- `nix.conf` settings. Override these defaults with `extra_nix_config`:
84
+
85
+
- The experimental `flakes` and `nix-command` features are enabled. Disable by overriding `experimental-features` in `extra_nix_config`.
86
+
87
+
- `max-jobs`is set to `auto`.
88
+
89
+
- `show-trace`is set to `true`.
90
+
91
+
- `$USER`is added to `trusted-users`.
92
+
93
+
- `$GITHUB_TOKEN`is added to `access_tokens` if no other `github_access_token` is provided.
94
+
95
+
- `always-allow-substitutes`is set to `true`.
96
+
97
+
- `ssl-cert-file`is set to `/etc/ssl/cert.pem` on macOS.
98
+
99
+
- KVM is enabled on Linux if available. Disable by setting `enable_kvm: false`.
0 commit comments