There is a custom of the Gra to replace the regular shir shel yom on holidays and various other special days with a psalm specific to that day. (This custom is followed by many Nusach Ashkenaz synagogues in Israel, particularly in Jerusalem.)
Here is a list of the relevant days and the psalms recited.
What was the Gra's source for this list?
Some can be found in the gemara (e.g. the various psalms for Chol HaMoed Sukkot are listed in a beraita quoted in Sukkah 55a, and Rosh Hashanah's Psalm 81 is discussed in Rosh Hashanah 30b). Some are found in Masechet Sofrim chapter 18 (e.g. Psalm 30 for Chanukah).
But some are not found in Masechet Sofrim (e.g. Psalm 32 for Yom Kippur), and some are contradicted by Masechet Sofrim (e.g. Shavuot - Gra says Psalm 19 and Masechet Sofrim says Psalm 29).
So what wasis the Gra's source for these choices, especially where they contradict Masechet Sofrim?