Skip to content

Project NOMAD is an offline-first knowledge and education server. Wikipedia, thousands of books, courses, maps, and optional local AI, all running on hardware you own with no internet required.

TypeScript

Add NOMAD_STORAGE_PATH schema definition to start/env.ts

copilot-swe-agent[bot]f905871392cc
diff --git a/admin/start/env.ts b/admin/start/env.ts
index 15364047..2eb21c99 100644
--- a/admin/start/env.ts
+++ b/admin/start/env.ts
@@ -20,6 +20,13 @@ export default await Env.create(new URL('../', import.meta.url), {
LOG_LEVEL: Env.schema.string(),
INTERNET_STATUS_TEST_URL: Env.schema.string.optional(),
+ /*
+ |----------------------------------------------------------
+ | Variables for configuring storage paths
+ |----------------------------------------------------------
+ */
+ NOMAD_STORAGE_PATH: Env.schema.string.optional(),
+
/*
|----------------------------------------------------------
| Variables for configuring session package