brms has the Practical Hilbert space approximate Bayesian Gaussian processes for probabilistic programming implemented. Just add option k to gp(). From gp: Set up Gaussian process terms in 'brms' in brms: Bayesian Regression Models using 'Stan'
kOptional number of basis functions for computing approximate GPs. IfNA(the default), exact GPs are computed.