diff options
author | Christian Kampka <christian@kampka.net> | 2020-10-19 23:08:50 +0200 |
---|---|---|
committer | Christian Kampka <christian@kampka.net> | 2020-10-21 13:41:26 +0200 |
commit | 461cf2b85601e4510bff303e454059d80b9df8c0 (patch) | |
tree | 7483a8d85cc2681f09ca9cdb01fbc0ab2c40b3a3 /doc/manual/src/command-ref/conf-file-prefix.md | |
parent | 21244e1062f92c9eb603f9dd5ed8210f159738e9 (diff) |
Add NIX_CONFIG env var for applying nix.conf overrides
Diffstat (limited to 'doc/manual/src/command-ref/conf-file-prefix.md')
-rw-r--r-- | doc/manual/src/command-ref/conf-file-prefix.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/manual/src/command-ref/conf-file-prefix.md b/doc/manual/src/command-ref/conf-file-prefix.md index 9987393d2..d38456788 100644 --- a/doc/manual/src/command-ref/conf-file-prefix.md +++ b/doc/manual/src/command-ref/conf-file-prefix.md @@ -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 |