dotfiles/NixOS/modules/zsh/config.nix

31 lines
618 B
Nix
Raw Normal View History

2024-05-31 15:40:15 +02:00
{ config, pkgs, ... }:
2024-05-31 15:26:03 +02:00
{
home.packages = with pkgs; [
fzf
fzy
zoxide
curl
2024-05-31 15:40:15 +02:00
zsh-powerlevel10k
zsh-autocomplete
2024-05-31 15:26:03 +02:00
];
2024-05-31 15:40:15 +02:00
home.file = {
".zshrc".source = ./files/zshrc;
".config/zsh/.p10k.zsh".source = ./files/p10k.zsh;
}
2024-05-31 15:26:03 +02:00
programs.zsh = {
enable = true;
enableCompletion = true;
syntaxHighlighting.enable = true;
autosuggestion.enable = true;
shellAliases = {
ll = "ls -lhat";
};
history.size = 10000;
history.path = "${config.xdg.dataHome}/zsh/history";
};
}