diff --git a/DEPLOYMENT-NOTES.rst b/DEPLOYMENT-NOTES.rst index 2a8a5708f32482639c5cae3a7af3314312339542..450971b336ccfceadc83511220a51f8777a2d1bd 100644 --- a/DEPLOYMENT-NOTES.rst +++ b/DEPLOYMENT-NOTES.rst @@ -19,7 +19,7 @@ Deployment notes 3. Create a labeled filesystem on the partition :: - mkfs.ext4 -L zkapissuer-db /dev/nvme1n1p1 + mkfs.ext4 -L zkapissuer-data /dev/nvme1n1p1 4. Deploy the PrivateStorageio update. diff --git a/morph/lib/issuer-aws.nix b/morph/lib/issuer-aws.nix index f9417429018d98d13f72c5fa9b0cb0371ec7f458..8ff172803eda784898aba2d96636df1afcee36e5 100644 --- a/morph/lib/issuer-aws.nix +++ b/morph/lib/issuer-aws.nix @@ -23,7 +23,7 @@ # PaymentServer voucher database. This makes it easier to manage for # tasks like backup/recovery and encryption. services.private-storage-issuer.databaseFileSystem = { - label = "zkapissuer-db"; + label = "zkapissuer-data"; }; # Clean up packages after a while diff --git a/morph/lib/issuer.nix b/morph/lib/issuer.nix index 1216eb32a3b5c9d38ab2447d877413b3f7f659eb..d3ee812e865f741b01eb811589262ae01ece824f 100644 --- a/morph/lib/issuer.nix +++ b/morph/lib/issuer.nix @@ -55,6 +55,6 @@ in { ristrettoSigningKeyPath = config.deployment.secrets.ristretto-signing-key.destination; stripeSecretKeyPath = config.deployment.secrets.stripe-secret-key.destination; database = "SQLite3"; - databasePath = "${config.fileSystems."zkapissuer-db".mountPoint}/vouchers.sqlite3"; + databasePath = "${config.fileSystems."zkapissuer-data".mountPoint}/vouchers.sqlite3"; }; } diff --git a/nixos/modules/issuer.nix b/nixos/modules/issuer.nix index 468170b874e5b3fcbb5d72b32149233af48d1b42..67bc3c5029c290676a777115179b273b2e8851ef 100644 --- a/nixos/modules/issuer.nix +++ b/nixos/modules/issuer.nix @@ -135,7 +135,7 @@ in { in lib.mkIf cfg.enable { # Make sure the voucher database filesystem is mounted. fileSystems = { - "zkapissuer-db" = cfg.databaseFileSystem // { + "zkapissuer-data" = cfg.databaseFileSystem // { mountPoint = "/var/lib/${stateDirectory}"; }; };