From 5784422519bcffe3f9e950c87908a1c0d8014a5d Mon Sep 17 00:00:00 2001
From: Florian Sesser <florian@private.storage>
Date: Thu, 8 Sep 2022 18:56:56 +0000
Subject: [PATCH] Keep Tahoe Incident Reports as long as our logs

---
 nixos/modules/private-storage.nix | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nixos/modules/private-storage.nix b/nixos/modules/private-storage.nix
index fd64d760..b4efbf25 100644
--- a/nixos/modules/private-storage.nix
+++ b/nixos/modules/private-storage.nix
@@ -17,7 +17,7 @@ let
   #
   # NOTE: This is promised by the service privacy policy.  It *may not* be
   # raised without following the process for updating the privacy policy.
-  max-incident-age = "29d";
+  max-incident-age = toString(config.services.private-storage.monitoring.policy.logRetentionSeconds) + "s";
 
   fqdn = "${
     assert config.networking.hostName != null; config.networking.hostName
-- 
GitLab