add more grocy envs variables

This commit is contained in:
chaos 2024-05-10 22:41:14 +01:00
parent 7dd402012b
commit 79b4c2f1ff
No known key found for this signature in database

View file

@ -31,8 +31,12 @@
cfg = config.services.grocy; cfg = config.services.grocy;
in { in {
phpEnv = { phpEnv = {
GROCY_CONFIG_FILE = "/etc/grocy/config.php";
GROCY_DATAPATH = "${cfg.dataDir}"; GROCY_DATAPATH = "${cfg.dataDir}";
GROCY_CONFIG_FILE = "/etc/grocy/config.php";
GROCY_DB_FILE = "${cfg.dataDir}/grocy.db";
GROCY_STORAGE_DIR = "${cfg.dataDir}/storage";
GROCY_PLUGIN_DIR = "${cfg.dataDir}/plugins";
GROCY_CACHE_DIR = "${cfg.dataDir}/viewcache";
}; };
}; };