1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-31 04:04:45 +00:00
This commit is contained in:
Jan Schmitt 2025-03-27 23:15:43 -03:00 committed by GitHub
commit 099314ef7b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -98,6 +98,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.