diff --git a/docs/src/runbooks/set-up-a-new-host.md b/docs/src/runbooks/set-up-a-new-host.md index c5e2f467..7b0a37ef 100644 --- a/docs/src/runbooks/set-up-a-new-host.md +++ b/docs/src/runbooks/set-up-a-new-host.md @@ -153,18 +153,16 @@ nix run .#secrets Then enable backups in the host configuration: ```nix -nixfiles.backups.enable = true; -nixfiles.backups.environmentFile = config.sops.secrets."nixfiles/backups/env".path; -sops.secrets."nixfiles/backups/env" = { }; +nixfiles.restic-backups.enable = true; +nixfiles.restic-backups.environmentFile = config.sops.secrets."nixfiles/restic-backups/env".path; +sops.secrets."nixfiles/restic-backups/env" = { }; ``` Most services define their own backup scripts. For any other needs, write a -custom script: +custom backup job: ```nix -nixfiles.backups.scripts. = '' -