From 0dd7a0f2665d6215b25ddb453dd7b51bcb40c589 Mon Sep 17 00:00:00 2001 From: Christopher Birkbeck Date: Sun, 2 Sep 2018 15:21:14 -0400 Subject: [PATCH] Added an example for environment.variable. (#45956) --- nixos/modules/config/shells-environment.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/config/shells-environment.nix b/nixos/modules/config/shells-environment.nix index b2bfc785f2a3..31adc9b82620 100644 --- a/nixos/modules/config/shells-environment.nix +++ b/nixos/modules/config/shells-environment.nix @@ -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).