Skip to content
Snippets Groups Projects
policy.nix 314 B
Newer Older
  • Learn to ignore specific revisions
  • # Codify our log data retention policy
    
    { options, lib, ... }: {
      options.services.private-storage.monitoring.policy = {
        logRetentionSeconds = lib.mkOption {
          type = lib.types.int;
          description = "How long do we retain logs (seconds)";
          default = 29 * (24 * 60 * 60);  # 29 days.
        };
      };
    }