Compare commits

...

2 commits

Author SHA1 Message Date
32c6f4a42f
Use nixpkgs powerlevel10k 2023-05-20 14:26:28 -05:00
7669f46282
Add useful utilities 2023-05-20 14:26:19 -05:00

View file

@ -31,8 +31,10 @@ in {
htop htop
mtr mtr
ncdu ncdu
pry
tmux tmux
virt-manager virt-manager
wget
yt-dlp yt-dlp
]; ];
@ -86,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";
@ -107,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 = {