My homelab setup, config files -right now mostly docker compose files to run specific container- and a set of ansible playbook.
I'm using precommit notably to check that I don't commit secret stuff in my config files and that the docker compose files are valid.