Begin migrate to custom configuration
This commit is contained in:
parent
4d24fae830
commit
431e5c8d7c
8 changed files with 291 additions and 45 deletions
|
@ -1,26 +1,5 @@
|
|||
{ config, pkgs, users, ... }:
|
||||
|
||||
{
|
||||
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;
|
||||
}
|
||||
];
|
||||
};
|
||||
homePrograms.zsh.enable = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue