1
0
Fork 0
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:
Christian Kampka 2020-10-19 23:08:50 +02:00
parent 21244e1062
commit 461cf2b856
No known key found for this signature in database
GPG key ID: B88E140DB4FE1AA5
4 changed files with 23 additions and 0 deletions

View file

@ -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