Things like calcium carbonate, sodium bicarbonate will create KH. So do things like crushed coral.In freshwater aquariums, most of water's buffering capacity is due to carbonates and bicarbonates. Thus, the terms ``carbonate hardness'' (KH), ``alkalinity'' and ``buffering capacity'' are used interchangeably.
To raise both GH and KH simultaneously, add calcium carbonate (CaCO3). 1/2 teaspoon per 100 liters of water will increase both the KH and GH by about 1-2 dH. Alternatively, add some sea shells, coral, limestone, marble chips, etc. to your filter.
To raise the KH without raising the GH, add sodium bicarbonate (NaHCO3), commonly known as baking soda. 1/2 teaspoon per 100 Liters raises the KH by about 1 dH. Sodium bicarbonate drives the pH towards an equilibrium value of 8.2.
As a rule of thumb harder water and higher pH usually go together. But for sure higher KH is always needed for higher pH.General hardness (GH) refers to the dissolved concentration of magnesium and calcium ions. When fish are said to prefer ``soft'' or ``hard'' water, it is GH (not KH) that is being referred to.
I have peat. I have not used peat in ages as I much prefer alder cones and almond leaves. Both of these also stain the water. Most SA/CA fish do not live in stained water.Peat moss softens water and reduces its hardness (GH). The most effective way to soften water via peat is to aerate water for 1-2 weeks in a bucket containing peat moss. For example, get a (plastic) bucket of the appropriate size. Then, get a large quantity of peat (a gallon or more), boil it (so that it sinks), stuff it in a pillow case, and place it in the water bucket. Use an air pump to aerate it. In 1-2 weeks, the water will be softer and more acidic. Use this aged water when making partial water changes on your tank.
Peat can be bought at pet shops, but it is expensive. It is much more cost-effective to buy it in bulk at a local gardening shop. Read labels carefully! You don't want to use peat containing fertilizers or other additives.
Although some folks place peat in the filters of their tanks, the technique has a number of drawbacks. First, peat clogs easily, so adding peat isn't always effective. Second, peat can be messy and may cloud the water in your tank. Third, the exact quantity of peat needed to effectively soften your water is difficult to estimate. Using the wrong amount results in the wrong water chemistry. Finally, when doing water changes, your tank's chemistry changes when new water is added (it has the wrong properties). Over the next few days, the chemistry changes as the peat takes effect. Using aged water helps ensure that the chemistry of your tank doesn't fluctuate while doing water changes.