home-manager: Use new zsh options

`initExtraBeforeCompInit` and `initExtra` have both been merged into `initContent`, and realistically it's okay to have our theme load after compinit.
This commit is contained in:
Spotlight 2025-04-23 03:17:19 -05:00
parent 1b5d5662c4
commit d068014e2e
Signed by: spotlight
GPG key ID: 874AA355B3209BDC

View file

@ -53,10 +53,11 @@ in
# We use powerlevel10k as our ZSH theme.
# By using the derivation in nixpkgs, we also get gitstatusd.
# The .p10k.zsh config is beneath.
initExtraBeforeCompInit = "source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme";
#
# We then add custom configurations.
initContent = ''
source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme
# Some custom configurations:
initExtra = ''
# pushd
setopt AUTO_PUSHD