Palmitoyltransferase that could catalyze the addition of palmitate onto various protein substrates. Has a palmitoyltransferase activity toward gephyrin/GPHN, regulating its clustering at synapses and its function in gamma-aminobutyric acid receptor clustering. Thereby, indirectly regulates GABAergic synaptic transmission. hexadecanoyl-CoA + L-cysteinyl-[protein] = CoA + S-hexadecanoyl-L-cysteinyl-[protein] The DHHC domain is required for palmitoyltransferase activity. Belongs to the DHHC palmitoyltransferase family.