37 lines
783 B
Nix
37 lines
783 B
Nix
{...}: {
|
|
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";
|
|
};
|
|
initExtra = ''
|
|
bindkey -s ^f "mux-sessionizer\n"
|
|
|
|
fastfetch
|
|
eval "$(zoxide init zsh)"
|
|
'';
|
|
|
|
history = {
|
|
size = 10000;
|
|
append = true;
|
|
};
|
|
autosuggestion.enable = true;
|
|
syntaxHighlighting.enable = true;
|
|
|
|
oh-my-zsh = {
|
|
enable = true;
|
|
plugins = ["git" "docker"];
|
|
theme = "strug";
|
|
};
|
|
};
|
|
}
|