Atuin integration with distrobox - custom home directory

when creating distrobox with shared home atuin integration works. It does not however with a distrobox with a custom home directory. Anyone know how to solve this or where to approach the problem from? Any help would be appreciated, thanks.