todo fix zsh
This commit is contained in:
parent
87e05031d7
commit
f7eb8be947
1 changed files with 12 additions and 15 deletions
|
@ -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;[
|
||||||
|
|
Loading…
Reference in a new issue