`programs.beets.settings.library` should be set explicitly and the path added to `services.restic.backups.paths`.