Files
dendritic/modules/home-manager/zsh.nix
John Lancaster 64ed7ca735 moved eza config
2026-02-16 13:58:18 -06:00

42 lines
860 B
Nix

{ inputs, ... }:
{
flake.homeModules.zsh = { pkgs, config, lib, ... }:
{
home.packages = with pkgs; [
zsh
];
programs.zsh = {
enable = true;
enableCompletion = true;
autosuggestion.enable = true;
# syntaxHighlighting.enable = true;
history = {
append = true;
ignoreAllDups = true;
ignorePatterns = [
"history"
"ls"
"eza"
"clear"
];
save = 1000;
size = 1000;
share = true;
};
oh-my-zsh = {
enable = true;
# theme = "risto";
theme = "agnoster";
plugins = [
"sudo"
"dotenv"
"git"
"ssh"
"ssh-agent"
];
};
shellAliases.ls = "${lib.getExe pkgs.eza} -lgos type --no-time --follow-symlinks";
};
};
}