We investigated the energy-dependent scintillation intensity of Eu-doped fluorozirconate glass-ceramic x-ray detectors in the energy range from 6 to 20 keV. The experiments were performed at the Advanced Photon Source, Argonne National Laboratory. The glass ceramics are based on Eu-doped fluorozirconate glasses, which were additionally doped with chlorine to initiate the nucleation of BaCl2 nanocrystals therein. The x-ray excited scintillation is mainly due to the 5d-4f transition of Eu2+ embedded in the BaCl2 nanocrystals; Eu2+ in the glass does not luminesce. Upon appropriate annealing the nanocrystals grow and undergo a phase transition from a hexagonal to an orthorhombic phase of BaCl2. The scintillation intensity is investigated as a function of the x-ray energy as well as of the particle size and structure of the embedded nanoparticles. The scintillation intensity versus x-ray energy dependence shows that the intensity is inversely proportional to the photoelectric absorption of the material, i.e. the more photoelectric absorption the less scintillation.