{ programs.zsh = { enable = true; zplug = { enable = true; plugins = [ { name = "romkatv/powerlevel10k"; tags = [ "as:theme" "depth:1" ]; } { name = "chisui/zsh-nix-shell"; } ]; }; initExtraFirst = '' if [ -z "$TMUX" ] && [[ $- == *i* ]] then (tmux ls | grep -vq attached && tmux at) || tmux exit fi ${builtins.readFile ./p10k.zsh.initfirst} ''; initExtra = '' ${builtins.readFile ./p10k.zsh} ''; }; }