Loading
nixos/nextcloud: use dedicated memory limit for the entire CLI
Originally, I wanted to execute `nextcloud-occ` with a higher memory limit because I needed to trigger an expensive operation by hand, regenerating a bunch of previews. While doing so, I realized how painful it is to put an invocation of nextcloud-occ together for that, especially when you need to put it into another systemd unit in Nix code. That's why I decided to use the memory limit now for every CLI invocation just in case. The stuff you do in those units (e.g. running background jobs) is something you can also do by hand with `nextcloud-occ` and you'll most likely want to have the same memory limit there.