nixos/nextcloud-notify_push: assert that not the sqlite db backend is used

It is only meant for development.
See https://github.com/NixOS/nixpkgs/issues/476262#issuecomment-3723699550

Closes #476262
This commit is contained in:
Sandro Jäckel
2026-01-11 00:29:16 +01:00
parent ddeb3e2129
commit db5efd333d
@@ -72,6 +72,13 @@ in
);
config = lib.mkIf cfg.enable {
assertions = [
{
assertion = config.services.nextcloud.config.dbtype != "sqlite";
message = "notify_push only supports Nextcloud's with either a Postgres or MariaDB database, not sqlite.";
}
];
systemd.services = {
nextcloud-notify_push = {
description = "Push daemon for Nextcloud clients";