Ive been using Joplin for all my productivity and note taking and Ive mostly been having an "it just works" experience. I use syncthing to share my notes accross devices. The only issue Ive had is with decrypting all my notes where certain notes remain encrypted requiring entering a password which in turn enables encryption...
The command line version is nifty too with vim-like shortcuts.
I do miss spreadsheets and drawing tools present in OneNote but it plays with external applications so still works miles better than plain text.