Merge: nixos/nextcloud: add maintainer team, update docs about maintainership of apps (#393069)

Changed files
+47 -66
maintainers
nixos
pkgs
build-support
fetchnextcloudapp
servers
top-level
+5
maintainers/maintainer-list.nix
···
githubId = 15833376;
name = "Pierre ROux";
+
provokateurin = {
+
name = "Kate Döen";
+
github = "provokateurin";
+
githubId = 26026535;
+
};
prrlvr = {
email = "po@prrlvr.fr";
github = "prrlvr";
+13
maintainers/team-list.nix
···
shortName = "Vim/Neovim";
};
+
nextcloud = {
+
members = [
+
bachp
+
britter
+
dotlambda
+
ma27
+
provokateurin
+
];
+
scope = "Maintain Nextcloud, its tests and the integration of applications.";
+
shortName = "Nextcloud";
+
enableFeatureFreezePing = true;
+
};
+
ngi = {
members = [
eljamm
+2
nixos/doc/manual/release-notes/rl-2505.section.md
···
- hddfancontrol has been updated to major release 2. See the [migration guide](https://github.com/desbma/hddfancontrol/tree/master?tab=readme-ov-file#migrating-from-v1x), as there are breaking changes.
+
- `nextcloud-news-updater` is unmaintained and was removed from nixpkgs.
+
- `services.cloudflared` now uses a dynamic user, and its `user` and `group` options have been removed. If the user or group is still necessary, they can be created manually.
- The Home Assistant module has new options {option}`services.home-assistant.blueprints.automation`, `services.home-assistant.blueprints.script`, and {option}`services.home-assistant.blueprints.template` that allow for the declarative installation of [blueprints](https://www.home-assistant.io/docs/blueprint/) into the appropriate configuration directories.
+14 -1
nixos/modules/services/web-apps/nextcloud.md
···
Alternatively, extra apps can also be declared with the [](#opt-services.nextcloud.extraApps) setting.
When using this setting, apps can no longer be managed statefully because this can lead to Nextcloud updating apps
-
that are managed by Nix. If you want automatic updates it is recommended that you use web interface to install apps.
+
that are managed by Nix:
+
+
```nix
+
{ config, pkgs, ... }: {
+
services.nextcloud.extraApps = with config.services.nextcloud.package.packages.apps; [
+
inherit user_oidc calendar contacts;
+
];
+
}
+
```
+
+
Keep in mind that this is essentially a mirror of the apps from the appstore, but managed in
+
nixpkgs. This is by no means a curated list of apps that receive special testing on each update.
+
+
If you want automatic updates it is recommended that you use web interface to install apps.
## Known warnings {#module-services-nextcloud-known-warnings}
+1
nixos/modules/services/web-apps/nextcloud.nix
···
]);
meta.doc = ./nextcloud.md;
+
meta.maintainers = teams.nextcloud;
+2 -6
nixos/tests/nextcloud/basic.nix
···
{ config, lib, ... }:
{
inherit name;
-
meta = with lib.maintainers; {
-
maintainers = [
-
globin
-
eqyiel
-
ma27
-
];
+
meta = {
+
maintainers = lib.teams.nextcloud.members;
};
imports = [ testBase ];
+1 -6
nixos/tests/nextcloud/with-declarative-redis-and-secrets.nix
···
in
{
inherit name;
-
meta = with lib.maintainers; {
-
maintainers = [
-
eqyiel
-
ma27
-
];
-
};
+
meta.maintainers = lib.teams.nextcloud.members;
imports = [ testBase ];
+2 -3
nixos/tests/nextcloud/with-mysql-and-memcached.nix
···
{ config, lib, ... }:
{
inherit name;
-
meta = with lib.maintainers; {
-
maintainers = [ eqyiel ];
-
};
+
+
meta.maintainers = lib.teams.nextcloud.members;
imports = [ testBase ];
+1 -6
nixos/tests/nextcloud/with-objectstore.nix
···
in
{
inherit name;
-
meta = with lib.maintainers; {
-
maintainers = [
-
onny
-
ma27
-
];
-
};
+
meta.maintainers = lib.teams.nextcloud.members;
imports = [ testBase ];
+1 -6
nixos/tests/nextcloud/with-postgresql-and-redis.nix
···
{ config, lib, ... }:
{
inherit name;
-
meta = with lib.maintainers; {
-
maintainers = [
-
eqyiel
-
ma27
-
];
-
};
+
meta.maintainers = lib.teams.nextcloud.members;
imports = [ testBase ];
+2 -1
pkgs/build-support/fetchnextcloudapp/default.nix
···
patches ? [ ],
description ? null,
homepage ? null,
+
maintainers ? [ ],
unpack ? false, # whether to use fetchzip rather than fetchurl
}:
applyPatches (
···
{
license = lib.licenses.${license};
longDescription = description;
-
inherit homepage;
+
inherit homepage maintainers;
}
// lib.optionalAttrs (description != null) {
longDescription = description;
+1 -7
pkgs/servers/nextcloud/default.nix
···
changelog = "https://nextcloud.com/changelog/#${lib.replaceStrings [ "." ] [ "-" ] version}";
description = "Sharing solution for files, calendars, contacts and more";
homepage = "https://nextcloud.com";
-
maintainers = with lib.maintainers; [
-
schneefux
-
bachp
-
globin
-
ma27
-
britter
-
];
+
maintainers = lib.teams.nextcloud.members;
license = lib.licenses.agpl3Plus;
platforms = lib.platforms.linux;
knownVulnerabilities =
-28
pkgs/servers/nextcloud/news-updater.nix
···
-
{
-
lib,
-
fetchurl,
-
python3Packages,
-
php,
-
}:
-
-
python3Packages.buildPythonApplication rec {
-
pname = "nextcloud-news-updater";
-
version = "11.0.0";
-
-
src = fetchurl {
-
url = "mirror://pypi/n/nextcloud_news_updater/nextcloud_news_updater-${version}.tar.gz";
-
sha256 = "bc2055c16f0dbf610b7e17650508a18fa5a1de652ecdf69c5d4073c97376e9cf";
-
};
-
-
doCheck = false;
-
-
propagatedBuildInputs = [ php ];
-
-
meta = {
-
description = "Fast parallel feed updater for the Nextcloud news app";
-
mainProgram = "nextcloud-news-updater";
-
homepage = "https://github.com/nextcloud/news-updater";
-
license = lib.licenses.gpl3;
-
maintainers = with lib.maintainers; [ schneefux ];
-
};
-
}
+1
pkgs/servers/nextcloud/packages/default.nix
···
appName = pname;
appVersion = data.version;
license = appBaseDefs.${pname};
+
maintainers = lib.teams.nextcloud.members;
inherit (data)
url
hash
+1
pkgs/top-level/aliases.nix
···
first on 24.05 because Nextcloud doesn't support upgrades across multiple major versions!
''; # Added 2024-06-25
nextcloud27Packages = throw "Nextcloud27 is EOL!"; # Added 2024-06-25
+
nextcloud-news-updater = throw "nextcloud-news-updater has been removed because the project is unmaintained"; # Added 2025-03-28
nagiosPluginsOfficial = monitoring-plugins;
neochat = makePlasma5Throw "neochat"; # added 2022-05-10
nerdfonts = throw ''
-2
pkgs/top-level/all-packages.nix
···
nextcloud30Packages = callPackage ../servers/nextcloud/packages { ncVersion = "30"; };
nextcloud31Packages = callPackage ../servers/nextcloud/packages { ncVersion = "31"; };
-
nextcloud-news-updater = callPackage ../servers/nextcloud/news-updater.nix { };
-
nextcloud-notify_push = callPackage ../servers/nextcloud/notify_push.nix { };
inherit (callPackages ../applications/networking/cluster/nomad { })