Converting Lyra to pagination instead of infinite loader

I’m in need of converting Lyra to pagination instead of infinite loader on certain index pages. Is it simply a matter of adding something of the sort

<nav class="pagination" role="navigation">
    {{#if prev}}
        <a class="newer-posts" href="{{page_url prev}}">&larr; Newer Posts</a>
    {{/if}}
    <span class="page-number">Page {{page}} of {{pages}}</span>
    {{#if next}}
        <a class="older-posts" href="{{page_url next}}">Older Posts &rarr;</a>
    {{/if}}
</nav>

into the index page, or is there anything else I should be keeping in mind (I’m guessing I will have to fiddle with the JS, but possibly if the target for the JS isn’t there and a pagination instead it might not be necessary)?

Thanks!