Can the phones you are using use either LLDP or CDP to configure their voice VLAN?
If yes, then yep, access vlan=1, voice vlan=5.
If not, then you'll need to use a trunk with native vlan=1, and vlan allowed=1,5.
If you don't have VoIP desk phones anymore, you can just use an access port for desktops and notebooks.