feat: yubi

This commit is contained in:
s-prechtl 2026-03-02 11:07:51 +01:00
parent 768c306165
commit 680ef5dc75
3 changed files with 68 additions and 55 deletions

View file

@ -1,4 +1,56 @@
{...}: {
programs.eza.enable = true;
programs.zsh = {
enable = true;
shellAliases = {
ll = "exa --icons -l";
l = "exa --icons -la";
ls = "exa --icons";
update = "sudo nixos-rebuild switch";
clear = "clear && fastfetch";
sl = "sl | lolcat";
cds = "cd \"$HOME/Nextcloud/Obsidian/FH/4. Semester/\"";
mux = "tmuxinator";
cat = "bat";
cd = "z";
};
initContent = ''
bindkey -s ^f "mux-sessionizer\n"
fastfetch
eval "$(zoxide init zsh)"
eval "$(direnv hook zsh)"
'';
history = {
size = 10000;
append = true;
};
autosuggestion.enable = true;
syntaxHighlighting.enable = true;
oh-my-zsh = {
enable = true;
plugins = [
"aliases"
"bgnotify"
"colored-man-pages"
"colorize"
"command-not-found"
"docker"
"docker-compose"
"gh"
"git"
"git-auto-fetch"
"golang"
"pass"
"safe-paste"
"tmuxinator"
];
theme = "custom";
custom = "$HOME/.config/oh-my-zsh";
};
};
home.file.".config/oh-my-zsh/themes/custom.zsh-theme".text = ''
# OhMyZsh Strug Theme but with nix-shell support
# Yoinked by d-hain
@ -63,56 +115,4 @@
ZSH_THEME_GIT_PROMPT_BEHIND_REMOTE=" -"
ZSH_THEME_GIT_PROMPT_BEHIND_REMOTE_COLOR=%{$fg[red]%}
'';
programs.eza.enable = true;
programs.zsh = {
enable = true;
shellAliases = {
ll = "exa --icons -l";
l = "exa --icons -la";
ls = "exa --icons";
update = "sudo nixos-rebuild switch";
clear = "clear && fastfetch";
sl = "sl | lolcat";
cds = "cd \"$HOME/Nextcloud/Obsidian/FH/2. Semester/\"";
mux = "tmuxinator";
cat = "bat";
cd = "z";
};
initContent = ''
bindkey -s ^f "mux-sessionizer\n"
fastfetch
eval "$(zoxide init zsh)"
eval "$(direnv hook zsh)"
'';
history = {
size = 10000;
append = true;
};
autosuggestion.enable = true;
syntaxHighlighting.enable = true;
oh-my-zsh = {
enable = true;
plugins = [
"aliases"
"bgnotify"
"colored-man-pages"
"colorize"
"command-not-found"
"docker"
"docker-compose"
"gh"
"git"
"git-auto-fetch"
"golang"
"pass"
"safe-paste"
"tmuxinator"
];
theme = "custom";
custom = "$HOME/.config/oh-my-zsh";
};
};
}