more stuff

This commit is contained in:
2023-10-29 00:40:45 +02:00
parent 5a9a6ea04f
commit 09e9968bb2
15 changed files with 1890 additions and 215 deletions

View File

@@ -1,38 +1,19 @@
{ pkgs }:
{
enable = true;
oh-my-zsh = {
zplug = {
enable = true;
plugins = [ "git" "docker" "zsh-interactive-cd" ];
theme = "amuse";
plugins = [
{ name = "plugins/git"; tags = [ from:oh-my-zsh ]; }
{ name = "plugins/docker"; tags = [ from:oh-my-zsh ]; }
{ name = "plugins/zsh-interactive-cd"; tags = [ from:oh-my-zsh ]; }
{ name = "zsh-users/zsh-autosuggestions"; }
{ name = "kaplanelad/shellfirm"; }
{ name = "zsh-users/zsh-syntax-highlighting"; }
{ name = "romkatv/powerlevel10k"; tags = [ as:theme depth:1 ]; }
];
};
plugins = [
{
name = "zsh-autosuggestions";
src = pkgs.fetchFromGitHub {
owner = "zsh-users";
repo = "zsh-autosuggestions";
rev = "v0.7.0";
sha256 = "sha256-KLUYpUu4DHRumQZ3w59m9aTW6TBKMCXl2UcKi4uMd7w=";
};
}
{
name = "shellfirm";
src = pkgs.fetchFromGitHub {
owner = "kaplanelad";
repo = "shellfirm";
rev = "v0.2.7";
sha256 = "sha256-rUK5YoXpjAdxJhoYIf5yNtUGDGnAXCDIkPrgm4QI2jc=";
};
}
{
name = "zsh-syntax-highlighting";
src = pkgs.fetchFromGitHub {
owner = "zsh-users";
repo = "zsh-syntax-highlighting";
rev = "0.7.1";
sha256 = "sha256-gOG0NLlaJfotJfs+SUhGgLTNOnGLjoqnUp54V9aFJg8=";
};
}
];
initExtra = ''
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
'';
}