18 lines
462 B
Nix
18 lines
462 B
Nix
{config, ...}: {
|
|
programs.zsh = {
|
|
enable = true;
|
|
shellAliases = {
|
|
ll = "ls -l";
|
|
lg = "lazygit";
|
|
nixos-update = "sudo git -C /etc/nixos/config pull && sudo nixos-rebuild switch";
|
|
};
|
|
history = {
|
|
size = 10000;
|
|
path = "${config.xdg.dataHome}/zsh/history";
|
|
};
|
|
};
|
|
programs.keychain.enableZshIntegration = true;
|
|
programs.starship.enableZshIntegration = true;
|
|
programs.nix-index.enableZshIntegration = true;
|
|
}
|