Perhaps you should separate installing snippets and enabling the minor mode. The install-snippets function wound be called in an `eval-after-load`, and the minor mode would be enabled in a separate function, predicating it on the `enable-yasnippet-integration` value.