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

.
This can only be done if you include it to your last will which is prepared by your lawyer. This is a bit risky because you need to supply all the information needed. To ensure that no leak of all your information that concerns the cryptocurrency, it's good to have a signed contract between you and your lawyer where he/she is liable for any leaks that may happen before and after you diedededed