fead: no idea

This commit is contained in:
didier committed 2026-07-03 13:59:06 -04:00
1 parent a65d39cea0
commit 57bcd549d1
3 files changed
+13 -4

No files matched your search

+7
View File
@@ -101,6 +101,12 @@
description = "Username of the admin user created at bootstrap.";
};
searchEngine = lib.mkOption {
type = lib.types.enum [ "qdrant" "fts5" ];
default = "qdrant";
description = "Search engine backend. 'fts5' uses SQLite full-text search, 'qdrant' uses Qdrant vector search.";
};
sqlitePath = lib.mkOption {
type = lib.types.path;
default = "/var/lib/st-pierre/st-pierre.sqlite";
@@ -152,6 +158,7 @@
QDRANT_TLS = if cfg.qdrantTls then "true" else "false";
EMBEDDING_BASE_URL = cfg.embeddingBaseUrl;
EMBEDDING_MODEL = cfg.embeddingModel;
SEARCH_ENGINE = cfg.searchEngine;
SQLITE_PATH = builtins.toString cfg.sqlitePath;
GIT_COMMIT = gitHash;
BUILD_DATE = lastUpdated;