Home-Manager got first level support for calendars and contacts.
Provided integrations are vdirsync and khal which I'm already using.
I therefore migrate from my own setup to the upstream setup.
Issue on home-manager project:
https://github.com/nix-community/home-manager/issues/2335