Inhomogeneous Bose-Fermi Mixtures in Cubic Lattices