I use KeePassXC and synchronise it with syncthing. This allows me to keep it off devices I have no control over (OneDrive servers) and also allows me to have per device version history.
I was about to type the same, I use syncthing all the time for other things but it's literally the best way to keep my passwords on my laptop, phone and desktop, never passes any cloud service and then I just use KeePassXC and KeePassDX with a YubiKey to make sure everything is top notch.
Basically, my password manager only opens when I this USB stick plugged in called a yubikey (and also a password) if you are missing either the password or the yubikey then you can't open my passwords. It's a sure way to know that it's you! P.S.: Always have a copy of your yubikey, don't wanna lose it and lose your passwords...
Nice, I have the exact same setup! Do you sync it to your phone too? What app do you use on your phone to read the database file? (I myself use keepassdx)