How to make it so my terminal automatically runs fastfetch when opened

i’m trying to make it so when i open terminal, it automatically runs fastfetch. i tried editing ~/.bashrc but it says it’s a read only file. when i try to edit it on root, it says it doesnt exist. can anyone help? you can ask me to see any file (home.nix, configuration.nix, flake.nix, etc) if needed

You can’t edit that file directly. Since you use home-manager, search for the appropriate h-m option for it.

https://home-manager-options.extranix.com/?query=bashrc&release=release-26.05

ohhhh, thanks waffle! it worked.

I always preferred running fortune, until it freaked me out thinking a server had been hacked. But you have fun