Snap and systemd auto config?

I’m noticing systemd configs are being created/rewritten for various snap-packages, but the snap docs are a bit vague on the specifics of when/where. Is there a general way to add systemd settings (eg. LimitNPROCS) to snaps, or is it snap-package specific?