EXP!: possible consolidation of powerline10k

This commit is contained in:
Nickiel12 2022-10-11 13:24:33 -07:00 committed by GitHub
parent dac53bc3e9
commit a7bcfae0aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,6 +5,10 @@ let
in
{
home.packages = with.pkgs; [
zsh-powerlevel10k
];
programs.zsh = {
enable = true; # technically also enabled in user shell
dotDir = ".config/zsh";
@ -13,11 +17,6 @@ in
neofetch
'';
initExtra = ''
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
'';
autocd = true;
history = {
@ -31,7 +30,6 @@ in
{
name = "powerline10k";
src = pkgs.zsh-powerlevel10k;
file = "share/zsh-powerlevel10k/powerlevel10k.zsh-theme";
}
];
};