nixhome/zsh.nix

20 lines
591 B
Nix

{ config, pkgs, ... }:
{
home.shellAliases = {
idot = "dot -Tpng -Gbgcolor=#232627 -Ncolor=white -Nfontcolor=white -Npencolor=white -Ecolor=white -Efontcolor=white -Epencolor=white -Npenwidth=2 -Epenwidth=2 -Nfontname=\"Courier bold\" -Efontname=\"Courier bold\" | timg -";
};
programs.zsh = {
enable = true;
autosuggestion.enable = true;
enableCompletion = true;
enableVteIntegration = true;
initExtra = ''
. "$HOME/.cargo/env"
export GUIX_PROFILE="/home/nora/.config/guix/current"
. "$GUIX_PROFILE/etc/profile"
fortune
'';
};
}