How to include custom configuration files for packages in .iso installation file

The following guide boils down to modifying an .iso to essentially adding the packages you need to the /pool/main folder, and then fixing various metadata files throughout the file.

However, I am looking for a deeper custom configuration – as an example, I would like to have a custom systemd service included, certain users already created with specified permissions (e.g. in the audio group), /etc/network/interfaces set, and other package configuration files written as well.

How would I achieve this?