diff --git a/morph/lib/issuer.nix b/morph/lib/issuer.nix index d60af799888c97ec8f97a061d40b54d3f2db82a7..34b19e31fc7caf2a99311a8ce4c1a739934c0453 100644 --- a/morph/lib/issuer.nix +++ b/morph/lib/issuer.nix @@ -56,6 +56,6 @@ in { ristrettoSigningKeyPath = config.deployment.secrets.ristretto-signing-key.destination; stripeSecretKeyPath = config.deployment.secrets.stripe-secret-key.destination; database = "SQLite3"; - databasePath = "/var/lib/zkapissuer/vouchers.sqlite3"; + databasePath = "${config.fileSystems."voucher-database".mountPoint}/vouchers.sqlite3"; }; }