nixos/wakapi: fix typo in warning conditional

This makes the warning work as intended again.
This commit is contained in:
NotAShelf
2024-10-22 11:59:09 +03:00
parent 92feb4fd19
commit c3ce64b13a
+1 -1
View File
@@ -196,7 +196,7 @@ in
];
warnings = [
(lib.optionalString (cfg.db.createLocall -> cfg.db.dialect != "postgres") ''
(lib.optionalString (cfg.db.createLocally -> cfg.db.dialect != "postgres") ''
You have enabled automatic database configuration, but the database dialect is not set to "posgres".
The Wakapi module only supports for PostgreSQL. Please set `services.wakapi.database.createLocally`