Rework lxc config defaults so it's a list of attrsets. This is necessary because order of terms in the lxc config file is important. Then for better control, actually pass it via an optional function provided in the args to allow customisation.
It does all seem to work.