diff --git a/hosts/hetzner-arm/containers/grocy/profiles/grocy.nix b/hosts/hetzner-arm/containers/grocy/profiles/grocy.nix index 925b5d2..95badb7 100644 --- a/hosts/hetzner-arm/containers/grocy/profiles/grocy.nix +++ b/hosts/hetzner-arm/containers/grocy/profiles/grocy.nix @@ -31,8 +31,12 @@ cfg = config.services.grocy; in { phpEnv = { - GROCY_CONFIG_FILE = "/etc/grocy/config.php"; 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"; }; };