nixos/home/env/bash.nix

15 lines
347 B
Nix

{ ... }:
{
programs.bash = {
enable = true;
shellAliases = {
lg = "lazygit";
nixos-update = "sudo git -C /etc/nixos/config pull && sudo nixos-rebuild switch";
};
};
programs.keychain.enableBashIntegration = true;
programs.starship.enableBashIntegration = true;
programs.nix-index.enableBashIntegration = true;
}