todo fix zsh

This commit is contained in:
Sakooooo 2023-07-15 19:27:04 +03:00
parent 87e05031d7
commit f7eb8be947
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -13,24 +13,21 @@ in
programs.zsh = { programs.zsh = {
enable = true; enable = true;
enableCompletion = true; # enableCompletion = true;
promptInit = "source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme"; # promptInit = "source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme";
}; };
home-manager.users.sako.programs.zsh = { home-manager.users.sako = { pkgs, ...}: {
plugins = [ programs.zsh = {
{ enable = true;
name = "zsh-nix-shell"; enableCompletion = true;
file = "nix-shell.plugin.zsh"; oh-my-zsh = {
src = pkgs.fetchFromGitHub { enable = true;
owner = "chisui"; plugins = [ "git" "powerlevel10k" ];
repo = "zsh-nix-shell"; theme = "powerlevel10k";
rev = "v0.7.0"; };
sha256 = "0za4aiwwrlawnia4f29msk822rj9bgcygw6a8a6iikiwzjjz0g91";
};
}
];
}; };
};
# for theme # for theme
fonts.fonts = with pkgs;[ fonts.fonts = with pkgs;[