dotfiles/modules/nixos/common/programs/zsh.nix
Christopher Mühl 786af32daf
Publish my config
This is the result of ~100 commits to my NixOS config. Since I haven't
always used `agenix-rekey`, this is another initial commit so that none
of the secrets in my git history are leaked
2025-07-30 23:36:39 +02:00

26 lines
466 B
Nix

{
environment.pathsToLink = ["/share/zsh"];
programs = {
less.enable = true;
zsh = {
enable = true;
autosuggestions.enable = true;
syntaxHighlighting = {
enable = true;
patterns = {
"rm -rf *" = "fg=black,bg=red";
};
styles = {
"aliases" = "fg=magenta";
};
highlighters = [
"main"
"brackets"
"pattern"
];
};
};
};
}