The only one who know my coins investments, wallets, private keys, is me. So the question is how to inherit this information to my family? to give them privilege to access it after I passed away

.
If you think youre near to death, use the time left in your life to educate and teach them about bitcoin. Teach them all the ways and all the things that you do in bitcoin and after that, you can tell them your passwords, accounts, investments and many other more that are related to bitcoin. Tell them they will be the one to manage your money so that they can earn money to sustain their daily needs.