dot.nix/pkgs/snapraid-runner/snapraid-runner.conf
Chris Toph f44e48c1ba Adds overlays and restructures package directories
- Applies overlays in flake to make custom packages available
- Replaces recursive package import with explicit package scanning
- Moves packages from `pkgs/common` to `pkgs/` and updates overlay paths
- Updates snapraid-runner email configuration (from, host, port, credentials)
2025-04-20 13:27:09 -04:00

44 lines
No EOL
1.1 KiB
Text

[snapraid]
; path to the snapraid executable (e.g. /bin/snapraid)
executable = /usr/bin/snapraid
; path to the snapraid config to be used
config = /etc/snapraid.conf
; abort operation if there are more deletes than this, set to -1 to disable
deletethreshold = 40
; if you want touch to be ran each time
touch = false
[logging]
; logfile to write to, leave empty to disable
file = /var/log/snapraid-runner.log
; maximum logfile size in KiB, leave empty for infinite
maxsize = 5000
[email]
; when to send an email, comma-separated list of [success, error]
sendon = success,error
; set to false to get full programm output via email
short = true
subject = [SnapRAID] Status Report:
from = [REDACTED]
to = [REDACTED]
; maximum email size in KiB
maxsize = 500
[smtp]
host = smtp.protonmail.ch
; leave empty for default port
port = 587
; set to "true" to activate
ssl = true
tls = true
user = [REDACTED]
password = [REDACTED]
[scrub]
; set to true to run scrub after sync
enabled = true
; scrub plan - either a percentage or one of [bad, new, full]
plan = 12
; minimum block age (in days) for scrubbing. Only used with percentage plans
older-than = 10