1 2 3 4 5 6 7 8 9 10
{ ... }: { programs.zsh = { enable = true; dotDir = ".config/zsh"; history.path = "$HOME/.cache/zsh/history"; initExtra = builtins.readFile ./zshrc; }; }