Set default application for mime type with home-manager

Yes. It behaves exactly the same.