25 lines
582 B
Nix
25 lines
582 B
Nix
{...}: {
|
|||
|
|
# zsh runtime config (.zshrc, plugins, aliases, prompt) is managed via stow
|
||
|
|
# (dotfiles: zsh + shell + starship packages). We only enable zsh at the system
|
||
|
|
# level and install the tools the dotfiles expect on PATH.
|
||
|
|
flake.nixosModules.zsh = {pkgs, ...}: {
|
||
|
|
programs.zsh.enable = true;
|
||
|
|
users.defaultUserShell = pkgs.zsh;
|
||
|
|
|
||
|
|
ahmza.stow.packages = ["zsh" "shell" "starship"];
|
||
|
|
|
||
|
|
environment.systemPackages = with pkgs; [
|
||
|
|
starship
|
||
|
|
fzf
|
||
|
|
ripgrep
|
||
|
|
fd
|
||
|
|
lsd
|
||
|
|
lolcat
|
||
|
|
zoxide
|
||
|
|
bat
|
||
|
|
lazygit
|
||
|
|
carapace
|
||
|
|
];
|
||
|
|
};
|
||
|
|
}
|