git.iko.soy/typeable/nixpkgs
on master help sign in
Added an example for environment.variable. (#45956)
commit0dd7a0f2665d6215b25ddb453dd7b51bcb40c589 authorChristopher Birkbeck <cjpbirkbeck@gmail.com> dateSun 2 Sep 2018, 15:21 (8 years ago) parent720c163
1 file changed+1
nixos/modules/config/shells-environment.nix+1
nixos/modules/config/shells-environment.nix+1
@@ -34,6 +34,7 @@ in
3434
3535 environment.variables = mkOption {
3636 default = {};
37+ example = { EDITOR = "nvim"; VISUAL = "nvim"; };
3738 description = ''
3839 A set of environment variables used in the global environment.
3940 These variables will be set on shell initialisation (e.g. in /etc/profile).