Document retention.window parameter and add storage sizing guidance

Adds the retention.window option to the NixOS module and documents it
in the README alongside a new Storage considerations section covering
per-network-size estimates and guidance on tuning scan timings and the
retention window to meet storage requirements.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
rzuasti
2026-05-28 09:18:46 -04:00
co-authored by Claude Sonnet 4.6
parent 40685837b0
commit 22d30a146c
2 changed files with 63 additions and 0 deletions
+5
View File
@@ -66,6 +66,11 @@ in {
description = "User key goes here, this is the account wide code for pushover.";
default = "";
};
retention.window = mkOption {
type = types.str;
description = "How long to retain device events and notifications. Records older than this are purged daily. Accepts duration strings (e.g. 90d, 1y, 6m).";
default = "365d";
};
};
# Service implementation