Background
Hi, I’ve been trying to setup Nextcloud for my server and I’ve noticed I can install nextcloud apps declaratively. I find this neater than doing it imperatively.
Issue
My issue is that I can’t find any list of the “easily” available apps I can enable.
- Do I simply write the package name of each app?
- Is there a list, a dir with nix files I can check somewhere in the nixpkgs repo??
I can’t search these packages on https://search.nixos.org/.
What the docs say
The wiki has a short part on enabling apps:
https://wiki.nixos.org/wiki/Nextcloud#Apps
services.nextcloud = {
enable = true;
extraApps = {
inherit (config.services.nextcloud.package.packages.apps) richdocuments;
};
}
From what I gather, some packages can be installed by using the services.nextcloud.extraApps option and prepending the packages with inherit (config.services.nextcloud.package.packages.apps).
Would that work for any package nextcloud has?
- If not, which packages can be enabled that way?
PS. I know there is the more manual way of using fetchNextcloudApp or manually building the package, but that’s not something I’d like to do.