garden.backups
garden.backups.jobs
Section titled “garden.backups.jobs”Define borg backup jobs.
Type: attribute set of (submodule)
Default:
{ }Declared by:
garden.backups.jobs.<name>.enable
Section titled “garden.backups.jobs.<name>.enable”Whether to enable borgbackup job.
Type: boolean
Default:
"true"Example:
trueDeclared by:
garden.backups.jobs.<name>.exclude
Section titled “garden.backups.jobs.<name>.exclude”List of glob patterns to exclude from the backup.
Type: list of string
Default:
[ ]Example:
[ "*.cache" "*.tmp"]Declared by:
garden.backups.jobs.<name>.passkeyFile
Section titled “garden.backups.jobs.<name>.passkeyFile”Path to the file containing the Borg repository passkey.
Type: absolute path
Default:
"the `<name>-passphrase` key in the borg secrets"Declared by:
garden.backups.jobs.<name>.paths
Section titled “garden.backups.jobs.<name>.paths”List of paths to back up.
Type: list of absolute path
Default:
[ ]Example:
[ "/home/user/Documents" "/etc"]Declared by:
garden.backups.jobs.<name>.repo
Section titled “garden.backups.jobs.<name>.repo”The Borg repository location.
Type: string
Default:
"the job's name"Declared by:
Built from ef8c592 on 2026-11-24