nixos/modules/programs/zsh.nix
2026-10-07 15:16:15 +02:00

14 lines
354 B
Nix

{
programs.zsh = {
enable = true;
enableCompletion = true;
autosuggestions.enable = true;
syntaxHighlighting.enable = true;
ohMyZsh = {
enable = true;
theme = "gentoo";
};
shellInit = ''export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/rbw/ssh-agent-socket"'';
};
system.userActivationScripts.zshrc = "touch .zshrc";
}