I want to define config values in an optional overlay that is enabled after writing to a custom service/characteristic using NCS. Based on this https://devzone.nordicsemi.com/nordic/b/archives/posts/nrf-connect-sdk-tutorial---part-2-1478313418#h128sk64757ef1a0yr9w1h6gklfucy966 it looks like it is possible to have optional overlay files, but I am not sure if I can trigger it in a conditional statement.
If anyone can help point me in a direction of if it is possible and any potential examples it would be greatly appreciated.