Fix p10k
This commit is contained in:
parent
c97bd8a799
commit
184e7f8108
2 changed files with 15 additions and 15 deletions
14
config/home-manager/base.nix
Normal file
14
config/home-manager/base.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue