2024-10-14 17:28:31 -04:00
|
|
|
|
{ pkgs, myAliases, ...}:
|
|
|
|
|
|
{
|
|
|
|
|
|
# To copy the Oh My Zsh configuration file to your home directory, run the following command:
|
|
|
|
|
|
# $ cp -v $(nix-env -q –out-path oh-my-zsh | cut -d’ ’ -f3)/share/oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
|
|
|
|
|
|
|
|
|
|
|
|
home.packages = with pkgs; [
|
|
|
|
|
|
zsh oh-my-zsh
|
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
programs.zsh = {
|
|
|
|
|
|
enable = true;
|
|
|
|
|
|
enableCompletion = true;
|
|
|
|
|
|
autosuggestion.enable = true;
|
|
|
|
|
|
syntaxHighlighting.enable = true;
|
|
|
|
|
|
autocd = true;
|
|
|
|
|
|
|
|
|
|
|
|
prezto.python = {
|
|
|
|
|
|
virtualenvInitialize = true;
|
|
|
|
|
|
virtualenvAutoSwitch = true;
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
shellAliases = myAliases;
|
|
|
|
|
|
|
|
|
|
|
|
history.size = 10000;
|
|
|
|
|
|
history.ignoreAllDups = true;
|
|
|
|
|
|
history.path = "$HOME/.zsh_history";
|
|
|
|
|
|
history.ignorePatterns = ["rm *" "pkill *" "cp *"];
|
|
|
|
|
|
|
|
|
|
|
|
oh-my-zsh = {
|
|
|
|
|
|
enable = false;
|
|
|
|
|
|
plugins = [ "git" "aliases" "ansible" "common-aliases" "direnv" "zoxide" "bgnotify" "starship" "eza" "thefuck" "docker" "fzf" "rsync" "sublime" "sudo" "systemd" "tmux" ];
|
|
|
|
|
|
theme = "";
|
|
|
|
|
|
};
|
2025-03-13 17:41:05 -04:00
|
|
|
|
localVariables = {
|
|
|
|
|
|
# aider-chat
|
2025-04-09 20:56:29 -04:00
|
|
|
|
# LD_LIBRARY_PATH = "${pkgs.stdenv.cc.cc.lib}/lib:${pkgs.zlib}/lib";
|
2025-03-13 17:41:05 -04:00
|
|
|
|
};
|
2024-10-14 17:28:31 -04:00
|
|
|
|
};
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#
|