mirror of
https://github.com/NixOS/nix
synced 2025-06-25 06:31:14 +02:00
Add NIX_CONFIG env var for applying nix.conf overrides
This commit is contained in:
parent
21244e1062
commit
461cf2b856
4 changed files with 23 additions and 0 deletions
|
@ -81,6 +81,11 @@ Most Nix commands interpret the following environment variables:
|
|||
Overrides the location of the system Nix configuration directory
|
||||
(default `prefix/etc/nix`).
|
||||
|
||||
- `NIX_OPTIONS`
|
||||
Applies settings from Nix configuration from the environment.
|
||||
The content is treated as if it was read from a Nix configuration file.
|
||||
Settings are separated by the newline character.
|
||||
|
||||
- `NIX_USER_CONF_FILES`
|
||||
Overrides the location of the user Nix configuration files to load
|
||||
from (defaults to the XDG spec locations). The variable is treated
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue