MyNixOS website logo
option

services.borgbackup.jobs.<name>.environment

Environment variables passed to the backup script. You can for example specify which SSH key to use.

Declarations
Type
attribute set of string
Default
{ }
Example
{
  BORG_RSH = "ssh -i /path/to/key";
}