mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-30 19:54:43 +00:00
Set up XDG system environment variables sort of how they set them up
in nixos by appending them to the nix profiles
This commit is contained in:
parent
d3dff8cefb
commit
5796faef94
2 changed files with 4 additions and 4 deletions
|
@ -169,7 +169,10 @@ in
|
|||
'';
|
||||
|
||||
environment.variables =
|
||||
{ EDITOR = mkDefault "nano";
|
||||
{
|
||||
XDG_CONFIG_DIRS = map (path: path + "/etc/xdg") cfg.profiles;
|
||||
XDG_DATA_DIRS = map (path: path + "/share") cfg.profiles;
|
||||
EDITOR = mkDefault "nano";
|
||||
PAGER = mkDefault "less -R";
|
||||
};
|
||||
|
||||
|
|
|
@ -86,9 +86,6 @@ in
|
|||
for m in "$p/etc/bash_completion.d/"*; do
|
||||
source $m
|
||||
done
|
||||
for m in "$p/share/bash-completion/completions/"*; do
|
||||
source $m
|
||||
done
|
||||
done
|
||||
eval "$nullglobStatus"
|
||||
unset nullglobStatus p m
|
||||
|
|
Loading…
Add table
Reference in a new issue