Use nixpkgs powerlevel10k
This commit is contained in:
parent
7669f46282
commit
32c6f4a42f
1 changed files with 4 additions and 10 deletions
|
@ -88,16 +88,6 @@ in {
|
||||||
enableCompletion = true;
|
enableCompletion = true;
|
||||||
enableSyntaxHighlighting = true;
|
enableSyntaxHighlighting = true;
|
||||||
plugins = with pkgs; [
|
plugins = with pkgs; [
|
||||||
{
|
|
||||||
name = "p10k";
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "romkatv";
|
|
||||||
repo = "powerlevel10k";
|
|
||||||
rev = "v1.18.0";
|
|
||||||
sha256 = "IiMYGefF+p4bUueO/9/mJ4mHMyJYiq+67GgNdGJ6Eew=";
|
|
||||||
};
|
|
||||||
file = "powerlevel10k.zsh-theme";
|
|
||||||
}
|
|
||||||
{
|
{
|
||||||
name = "expand-multiple-dots";
|
name = "expand-multiple-dots";
|
||||||
src = "${config.home.homeDirectory}/.dotfiles/zsh/expand-multiple-dots";
|
src = "${config.home.homeDirectory}/.dotfiles/zsh/expand-multiple-dots";
|
||||||
|
@ -109,7 +99,11 @@ in {
|
||||||
file = "shell_integration/zsh";
|
file = "shell_integration/zsh";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# We use powerlevel10k as our ZSH theme.
|
||||||
|
# By using the derivation in nixpkgs, we also get gitstatusd.
|
||||||
# The .p10k.zsh config is beneath.
|
# The .p10k.zsh config is beneath.
|
||||||
|
initExtraBeforeCompInit = "source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme";
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.vim = {
|
programs.vim = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue