It all depends on the cost of electricity. If it is free ( included in the rent, etc.) then mining will be beneficial in any case.
I also believe that mining is will be profitable if the cost of electricity become lowest. Cause for mining its need more power of electricity and now the cost of electricity is very costly for which we can't get sufficient profits from mining.