I use this too. Keepass on windows, keepassxc on Linux and keepass2android on Android, with the db synced to all my devices via Nextcloud.
The db is encrypted via a passphrase plus a keyfile that I copy manually to each device (that is, it's not synced with the db).