new dir hashes, optimize the old ones to use xdg dirs
This commit is contained in:
parent
4298f5c482
commit
4bf97d6556
1 changed files with 6 additions and 6 deletions
|
@ -343,13 +343,13 @@ in {
|
||||||
eval "$(${pkgs.oh-my-posh}/bin/oh-my-posh init zsh --config ${../../dotfiles/prompt.json})"
|
eval "$(${pkgs.oh-my-posh}/bin/oh-my-posh init zsh --config ${../../dotfiles/prompt.json})"
|
||||||
'';
|
'';
|
||||||
dirHashes = {
|
dirHashes = {
|
||||||
dl = "${config.home.homeDirectory}/Downloads";
|
dl = "${config.xdg.userDirs.download}";
|
||||||
docs = "${config.home.homeDirectory}/Documents";
|
docs = "${config.xdg.userDirs.documents}";
|
||||||
src = "${config.home.homeDirectory}/src";
|
code = "${config.xdg.userDirs.documents}/code";
|
||||||
dots = "${config.home.homeDirectory}/nixos";
|
|
||||||
nix = "${config.home.homeDirectory}/nixos";
|
nix = "${config.home.homeDirectory}/nixos";
|
||||||
pics = "${config.home.homeDirectory}/Pictures";
|
nixos = "${config.home.homeDirectory}/nixos";
|
||||||
vids = "${config.home.homeDirectory}/Videos";
|
pics = "${config.xdg.userDirs.pictures}";
|
||||||
|
vids = "${config.xdg.userDirs.videos}";
|
||||||
};
|
};
|
||||||
sessionVariables = {
|
sessionVariables = {
|
||||||
DIRENV_LOG_FORMAT = "";
|
DIRENV_LOG_FORMAT = "";
|
||||||
|
|
Loading…
Reference in a new issue