nixos/nextcloud: fix docu of packages

This commit is contained in:
Felix Buehler 2023-11-13 20:26:08 +01:00
parent 12839b9bf6
commit 7f9abdcfcb
2 changed files with 4 additions and 11 deletions

View file

@ -125,12 +125,7 @@ in {
'';
example = literalExpression ''
{
maps = pkgs.fetchNextcloudApp {
name = "maps";
sha256 = "007y80idqg6b6zk6kjxg4vgw0z8fsxs9lajnv49vv1zjy6jx2i1i";
url = "https://github.com/nextcloud/maps/releases/download/v0.1.9/maps-0.1.9.tar.gz";
version = "0.1.9";
};
inherit (pkgs.nextcloud25Packages.apps) mail calendar contact;
phonetrack = pkgs.fetchNextcloudApp {
name = "phonetrack";
sha256 = "0qf366vbahyl27p9mshfma1as4nvql6w75zy2zk5xwwbp343vsbc";

View file

@ -30,11 +30,9 @@ services.nextcloud = {
package = pkgs.nextcloud25;
hostName = "localhost";
config.adminpassFile = "${pkgs.writeText "adminpass" "hunter2"}";
extraApps = with pkgs.nextcloud25Packages.apps; [
mail
calendar
contacts
];
extraApps = with pkgs.nextcloud25Packages.apps; {
inherit mail calendar contact;
};
extraAppsEnable = true;
};
```