wakapi: fix empty warning

This commit is contained in:
Álvaro Salcedo García
2026-06-07 00:09:18 +02:00
parent fbac98ae6b
commit 55b8fc7614
+5 -7
View File
@@ -196,14 +196,12 @@ in
}
];
warnings = [
(lib.optionalString (cfg.database.createLocally && cfg.settings.db.dialect != "postgres") ''
You have enabled automatic database configuration, but the database dialect is not set to "posgres".
warnings = lib.optional (cfg.database.createLocally && cfg.settings.db.dialect != "postgres") ''
You have enabled automatic database configuration, but the database dialect is not set to "postgres".
The Wakapi module only supports PostgreSQL. Please set `services.wakapi.database.createLocally`
to `false`, or switch to "postgres" as your database dialect.
'')
];
The Wakapi module only supports PostgreSQL. Please set `services.wakapi.database.createLocally`
to `false`, or switch to "postgres" as your database dialect.
'';
users = {
users.wakapi = {