nixpkgs/pkgs/servers/nextcloud/packages
Maximilian Bosch 6e2493e7f8
nextcloudPackages.apps.phonetrack: init at 0.7.6 (for nc26) & 0.7.7 (for nc27, nc28)
Self-hostable alternative to "Find my" tooling from Apple or Google
(minus remote wipe via Bluetooth, though).

License is AGPL 3.0 or later[1].

See also https://apps.nextcloud.com/apps/phonetrack.

[1] Unfortunately the license identifier is only `agpl` everywhere,
    however the source files confirm that it's "or later":
    https://github.com/julien-nc/phonetrack/blob/v0.7.7/lib/AppInfo/Application.php#L5-L6
2023-12-15 12:24:10 +01:00
..
26.json nextcloudPackages.apps.phonetrack: init at 0.7.6 (for nc26) & 0.7.7 (for nc27, nc28) 2023-12-15 12:24:10 +01:00
27.json nextcloudPackages.apps.phonetrack: init at 0.7.6 (for nc26) & 0.7.7 (for nc27, nc28) 2023-12-15 12:24:10 +01:00
28.json nextcloudPackages.apps.phonetrack: init at 0.7.6 (for nc26) & 0.7.7 (for nc27, nc28) 2023-12-15 12:24:10 +01:00
default.nix nextcloud*Packages: expose proper license information 2023-08-20 13:39:44 +02:00
generate.sh nextcloud*Packages: expose proper license information 2023-08-20 13:39:44 +02:00
nc-versions.nix nextcloudPackages: update 2023-03-28 18:43:27 -07:00
nextcloud-apps.json nextcloudPackages.apps.phonetrack: init at 0.7.6 (for nc26) & 0.7.7 (for nc27, nc28) 2023-12-15 12:24:10 +01:00
README.md nixos/nextcloud: fix docu of packages 2023-11-17 23:16:23 +01:00

= Adding apps =

To extend the nextcloudPackages set, add a new line to the corresponding json file with the id of the app:

  • nextcloud-apps.json for apps

The app must be available in the official Nextcloud app store. https://apps.nextcloud.com. The id corresponds to the last part in the app url, for example breezedark for the app with the url https://apps.nextcloud.com/apps/breezedark.

To regenerate the nixpkgs nextcloudPackages set, run:

./generate.sh

After that you can commit and submit the changes.

= Usage with the Nextcloud module =

The apps will be available in the namespace nextcloud25Packages.apps. Using it together with the Nextcloud module could look like this:

services.nextcloud = {
  enable = true;
  package = pkgs.nextcloud25;
  hostName = "localhost";
  config.adminpassFile = "${pkgs.writeText "adminpass" "hunter2"}";
  extraApps = with pkgs.nextcloud25Packages.apps; {
    inherit mail calendar contact;
  };
  extraAppsEnable = true;
};

Adapt the version number in the Nextcloud package and nextcloudPackages set according to the Nextcloud version you wish to use. There are several supported stable Nextcloud versions available in the repository.