nixos: services: nextcloud: use declarative apps
Some checks failed
ci/woodpecker/push/check Pipeline failed

Now that the `notify_push` module declaratively installs _its_ app [1],
I should declaratively install _all_ apps.

[1]: https://github.com/NixOS/nixpkgs/pull/451501
This commit is contained in:
Bruno BELANYI 2025-11-08 22:12:42 +01:00
parent 6e73c936b0
commit 1b4111e28f
2 changed files with 16 additions and 0 deletions

View file

@ -16,6 +16,12 @@ in
};
config = lib.mkIf cfg.enable {
services.nextcloud = {
extraApps = {
inherit (config.services.nextcloud.package.packages.apps) richdocuments;
};
};
services.collabora-online = {
enable = true;
inherit (cfg) port;

View file

@ -62,6 +62,16 @@ in
# Allow using the push service without hard-coding my IP in the configuration
bendDomainToLocalhost = true;
};
extraApps = {
inherit (config.services.nextcloud.package.packages.apps)
calendar
contacts
deck
tasks
;
# notify_push is automatically installed by the module
};
};
# The service above configures the domain, no need for my wrapper