mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 19:02:57 +00:00
Added an example for environment.variable. (#45956)
This commit is contained in:
parent
720c163a55
commit
0dd7a0f266
@ -34,6 +34,7 @@ in
|
||||
|
||||
environment.variables = mkOption {
|
||||
default = {};
|
||||
example = { EDITOR = "nvim"; VISUAL = "nvim"; };
|
||||
description = ''
|
||||
A set of environment variables used in the global environment.
|
||||
These variables will be set on shell initialisation (e.g. in /etc/profile).
|
||||
|
Loading…
Reference in New Issue
Block a user