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
|
@ -19,6 +19,9 @@ By default Nix reads settings from the following places:
|
|||
and `XDG_CONFIG_HOME`. If these are unset, it will look in
|
||||
`$HOME/.config/nix.conf`.
|
||||
|
||||
- If `NIX_OPTIONS` is set, its contents is treated as the contents of
|
||||
a configuration file.
|
||||
|
||||
The configuration files consist of `name =
|
||||
value` pairs, one per line. Other files can be included with a line like
|
||||
`include
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue