Herein, we demonstrate a one-step, scalable, solution-processed method for the growth of nickel sulfide (NiS) nanostructures using single-source precursors (SSPs) on a flexible substrate as a versatile framework for simultaneous detection of four DNA nucleobases. The as-grown NiS nanostructures exhibit a broad bandgap range and spherical morphology with high surface area and significant porosity, as confirmed by SEM, TEM, and BET surface area analysis. Consequently, the NiS/Ni-foam electrode exhibited remarkable electrochemical performance toward the oxidation of A, G, T, and C due to its large surface area, high electrode activity, and efficient electron transfer capacity. Under the optimum conditions, the electrode demonstrated selective and simultaneous detection of all four nucleobases over a wide linear range from 200 to 1000 mu M for A and G, and 50 to 500 mu M for T and C, with a low limit of detection of 159 mu M for A, 147.6 mu M for G, 16.8 mu M for T, and 45.9 mu M for C, along with high sensitivity of 1.2 x 10-4 A M-1 for A, 6.1 x 10-4 A M-1 for G, 1.2 x 10-3 A M-1 for T, and 3.0 x 10-4 A M-1 for C. The as-fabricated electrode revealed excellent reproducibility and stability toward nucleobase detection and demonstrated a reliable DPV response under different bending and twisting conditions. For immediate practical application, NiS/Ni-foam was utilized to quantify the concentration of all nucleobases in calf thymus and Escherichia coli (E. coli) DNA, resulting in a (G + C)/(A + T) ratio of 0.79 and 1.10, respectively. This simple, cost-effective, and flexible NiS/Ni-foam electrode paves the way for the development of non-invasive, wearable biosensors for potential applications in early disease detection.