This commit is contained in:
Charlotte 🦝 Delenk 2022-01-15 16:54:18 +01:00
parent c97bd8a799
commit 184e7f8108
Signed by: darkkirb
GPG key ID: 015E3768A70AFBC5
2 changed files with 15 additions and 15 deletions

View file

@ -0,0 +1,14 @@
{ pkgs, ... }: {
imports = [
../programs/zsh.nix
];
programs = {
zsh = {
oh-my-zsh = {
enable = true;
};
initExtraBeforeCompInit = "source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme";
initExtra = "[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh";
};
};
}

View file

@ -1,19 +1,5 @@
{ pkgs, ... }: {
imports = [
../programs/zsh.nix
./base.nix
];
programs = {
zsh = {
oh-my-zsh = {
enable = true;
};
plugins = [
{
name = "powerlevel10k";
src = pkgs.zsh-powerlevel10k;
}
];
};
};
}