summaryrefslogtreecommitdiff
path: root/accounts/gkleen@skadhi/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'accounts/gkleen@skadhi/zsh')
-rw-r--r--accounts/gkleen@skadhi/zsh/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/accounts/gkleen@skadhi/zsh/default.nix b/accounts/gkleen@skadhi/zsh/default.nix
index ddc69f0d..1e11d639 100644
--- a/accounts/gkleen@skadhi/zsh/default.nix
+++ b/accounts/gkleen@skadhi/zsh/default.nix
@@ -81,6 +81,10 @@ let
81 }; 81 };
82in { 82in {
83 config = { 83 config = {
84 home.persistence."/persistent".files = [
85 (lib.removePrefix (config.home.homeDirectory + "/") config.programs.zsh.history.path)
86 ];
87 programs.zsh.history.path = "${config.xdg.stateHome}/zsh/history";
84 programs.zsh.initContent = '' 88 programs.zsh.initContent = ''
85 source ${zshrc}/share/zshrc 89 source ${zshrc}/share/zshrc
86 ''; 90 '';
@@ -94,6 +98,7 @@ in {
94 dl = "$HOME/Downloads"; 98 dl = "$HOME/Downloads";
95 scrot = "$HOME/screenshots"; 99 scrot = "$HOME/screenshots";
96 media = "$HOME/media"; 100 media = "$HOME/media";
101 flk = "$HOME/projects/machines";
97 }; 102 };
98 programs.starship.settings = { 103 programs.starship.settings = {
99 directory.substitutions = lib.mapAttrs' (name: value: let 104 directory.substitutions = lib.mapAttrs' (name: value: let