MyNixOS website logo
option

services.restic.backups.<name>.passwordCommand

Command which returns one of the repository's passwords. Since PATH is set in the systemd service you need to provide the absolute path to the executable.

Declarations
Type
null or string
Default
null
Example
"${lib.getExe pkgs.gopass} show backups"