You don’t need to add mcfly bash integration to your .bashrc manually. Remove it from home.packages and instead enable the home-manager module with programs.mcfly.enable = true;. That’s all you need to do, it has a enableBashIntegration setting that’s true by default. Same for atuin, programs.atuin.enable = true; is enough.
It’s an habit you have to learn when switching to nix, check first if there is a module for the program you want to install before resorting to home.packages or environment.systemPackages.
I thought that I’ve already replied but apparently not… Thanks for this. I did not realize it’s this simple. Looks like I’ve found one of the many instances where I can make this work differently while it may not be optimal to do so :)
You don’t need to add mcfly bash integration to your
.bashrcmanually. Remove it fromhome.packagesand instead enable the home-manager module withprograms.mcfly.enable = true;. That’s all you need to do, it has aenableBashIntegrationsetting that’s true by default. Same for atuin,programs.atuin.enable = true;is enough.It’s an habit you have to learn when switching to nix, check first if there is a module for the program you want to install before resorting to
home.packagesorenvironment.systemPackages.I thought that I’ve already replied but apparently not… Thanks for this. I did not realize it’s this simple. Looks like I’ve found one of the many instances where I can make this work differently while it may not be optimal to do so :)