feat(servers): setup home manager.

This commit is contained in:
CronyAkatsuki 2025-08-17 17:35:53 +02:00
parent fd482cd146
commit 58c9fc74b1
4 changed files with 139 additions and 36 deletions

View file

@ -3,40 +3,5 @@
shell = pkgs.zsh;
};
programs.zsh = {
enable = true;
enableCompletion = true;
autosuggestions.enable = true;
# historySubstringSearch.enable = true;
shellAliases = {
# General aliases
grep = "grep --color=auto";
cp = "cp -iv";
rm = "rm -iv";
mkd = "mkdir -pv";
less = "less -R";
df = "df -h -x devtmpfs -x tmpfs -x usbfs -x loop";
free = "free -mht";
# nnn on crack
nnn = ''LC_COLLATE="C" nnn -xeaiH'';
# Buku powerup
b = "buku -p";
# fzf shenanigans
vif = ''nvim $(fzf --preview="bat --color=always {}")'';
};
# antidote = {
# enable = true;
# plugins = [
# "zap-zsh/supercharge"
# "zap-zsh/completions"
# "zap-zsh/vim"
# "chivalryq/git-alias"
# "zdharma-continuum/fast-syntax-highlighting"
# "zsh-users/zsh-history-substring-search"
# "MichaelAquilina/zsh-you-should-use"
# ];
# };
};
programs.zsh.enable = true;
}