mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-14 11:57:34 +00:00
docs: add missing environment defaults
This commit is contained in:
parent
3b69bf3cc2
commit
bf9dd17ae5
1 changed files with 6 additions and 0 deletions
|
@ -85,6 +85,12 @@ in
|
|||
environment.variables = mkOption {
|
||||
type = types.attrsOf (types.either types.str (types.listOf types.str));
|
||||
default = {};
|
||||
defaultText = literalExpression ''
|
||||
XDG_CONFIG_DIRS=$HOME/.nix-profile/etc/xdg:/run/current-system/sw/etc/xdg:/nix/var/nix/profiles/default/etc/xdg
|
||||
XDG_DATA_DIRS=$HOME/.nix-profile/share:/run/current-system/sw/share:/nix/var/nix/profiles/default/share
|
||||
EDITOR = "nano";
|
||||
PAGER = "less -R";
|
||||
'';
|
||||
example = { EDITOR = "vim"; LANG = "nl_NL.UTF-8"; };
|
||||
description = ''
|
||||
A set of environment variables used in the global environment.
|
||||
|
|
Loading…
Reference in a new issue