Move more things to xdg paths
This commit is contained in:
parent
04560dfbc5
commit
c41543edcf
23 changed files with 491 additions and 566 deletions
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgs, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
|
@ -16,6 +16,7 @@
|
|||
};
|
||||
history = {
|
||||
append = true;
|
||||
expireDuplicatesFirst = true;
|
||||
ignoreAllDups = true;
|
||||
ignoreSpace = true;
|
||||
path = "$ZDOTDIR/.zsh_history";
|
||||
|
@ -26,5 +27,6 @@
|
|||
'';
|
||||
};
|
||||
|
||||
home.persistence."${config.xdg.userDirs.extraConfig.XDG_PERSIST_DIR}".directories = [ "state/.config/zsh" ];
|
||||
home.persistence."${config.xdg.userDirs.extraConfig.XDG_PERSIST_DIR}".directories = with lib; with config.home; with config.xdg;
|
||||
[ "state/${removePrefix "${homeDirectory}/" configHome}/zsh" ];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue