From 47c36bfdd40347ab1512a8f284f69a77e9bdc50d Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone <exarkun@twistedmatrix.com> Date: Mon, 1 Nov 2021 18:29:31 -0400 Subject: [PATCH] make the issuer use whatever path we've put the filesystem at --- morph/lib/issuer.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/morph/lib/issuer.nix b/morph/lib/issuer.nix index d60af799..34b19e31 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"; }; } -- GitLab