23 lines
469 B
Nix
23 lines
469 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
home.file.".zsh/fastfetch.jsonc".source = ./fastfetch/config.jsonc;
|
|
home.file.".zsh/functions/dex.zsh".source = ./zsh/functions/dex.zsh;
|
|
|
|
programs.zsh = {
|
|
enable = true;
|
|
|
|
oh-my-zsh = {
|
|
enable = true;
|
|
theme = "agnoster";
|
|
};
|
|
|
|
initContent = ''
|
|
# Use kitty's ssh helper if running inside kitty
|
|
[ "$TERM" = "xterm-kitty" ] && alias ssh="kitty +kitten ssh"
|
|
|
|
source ~/.zsh/functions/dex.zsh
|
|
'';
|
|
};
|
|
}
|