nixos/nextcloud-notify_push: assert that not the sqlite db backend is… (#478869)
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user