Switched back to p10k

Back on p10k but with catppuccin colors (lean preset)
This commit is contained in:
alejandro-angulo 2024-09-20 23:35:14 -07:00
parent b45b28fbba
commit b6a2179453
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6
2 changed files with 322 additions and 284 deletions

View file

@ -41,34 +41,24 @@ in {
src = inputs.zsh-syntax-highlighting;
file = "zsh-syntax-highlighting.zsh";
}
{
name = "powerlevel10k";
src = inputs.powerlevel10k;
file = "powerlevel10k.zsh-theme";
}
# To reconfigure p10k:
# - Comment out the attrset below
# - Run nixos-rebuild
# - Run `p10k configure` (or start a new terminal session)
# - Run `mv ~/.p10k.zsh ./p10k.zsh`
# - Uncomment the attrset below
# - Run nixos-rebuid
{
name = "powerlevel10k-config";
src = ./plugins;
file = "p10k.zsh";
}
];
};
programs.starship = {
enable = true;
catppuccin.enable = true;
settings = {
format = lib.concatStrings [
"$os"
"$username"
"$hostname"
"$directory"
"$git_branch"
"$git_commit"
"$git_state"
"$git_metrics"
"$git_status"
"$fill"
"$all"
"$time"
"$line_break"
"$character"
];
os.disabled = false;
status.disabled = false;
time.disabled = false;
};
};
};
}