Merge pull request #267278 from Stunkymonkey/nixos-packages-docu-fix

nixos/nextcloud: fix docu of packages
This commit is contained in:
Lassulus 2023-11-25 18:48:28 +01:00 committed by GitHub
commit b821ac8070
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;
};
```