some more little treats for clo

This commit is contained in:
chloe caruso 2025-05-15 17:42:32 -07:00
parent d9967da704
commit be3db5e095

View file

@ -13,6 +13,7 @@ in
ffmpeg
ripgrep
uv
nh
];
# packages to install for desktop environments (non-server)
desktop = [
@ -36,9 +37,31 @@ in
btop.enable = true;
fd.enable = true;
hyfetch.enable = true;
zsh.enable = true;
# sort-lines:end
# zsh is the shell i use
zsh = {
enable = true;
enableCompletion = true;
autosuggestion.enable = true;
syntaxHighlighting.enable = true;
history.size = 10000;
shellAliases = {
switch = "nh darwin switch ~/config";
};
profileExtra = ''
function python() {
dirname=$(dirname $1 2>/dev/null)
if [ -z "$dirname" ]; then
dirname=$(pwd)
fi
uv run --project "$dirname" "$@"
}
'';
};
# use a git-specific email
git.userEmail = "git@paperclover.net";