Change shell to zsh + p10k with FiraCode font

This commit is contained in:
Florian RICHER 2024-05-05 18:58:12 +02:00
parent 17cb24121e
commit 900fd07399
2 changed files with 1765 additions and 1 deletions

1738
home/files/p10k.zsh Normal file

File diff suppressed because it is too large Load diff

View file

@ -1,5 +1,31 @@
{ config, pkgs, ... }:
{
programs.bash.enable = true;
programs.zsh = {
enable = true;
autosuggestion.enable = true;
syntaxHighlighting.enable = true;
initExtra = ''
[[ ! -f ${../files/p10k.zsh} ]] || source ${../files/p10k.zsh}
'';
plugins = with pkgs; [
{
file = "powerlevel10k.zsh-theme";
name = "powerlevel10k";
src = "${zsh-powerlevel10k}/share/zsh-powerlevel10k";
}
{
file = "p10k.zsh";
name = "powerlevel10k-config";
src = zsh-powerlevel10k;
}
];
};
home.packages = with pkgs; [
fira-code-nerdfont
];
}