NixOS: Google Calendar events in korganizer

I’m trying to add my Google Calendar to KOrganizer, but I’m facing the same problem as this person here:

Any of you know how to fix this?

Did you install in environment. systemPackages or just enter a nix-shell like the attached link?

I have installed this as a system package. I also had to add akonadi for some reason.