diff options
| author | Franck Cuny <franck@fcuny.net> | 2025-11-27 13:29:39 -0800 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2025-11-27 13:29:39 -0800 |
| commit | aa1d82481f315b714fa5e6cced6142e4925bd647 (patch) | |
| tree | 7106cab9420d8663b0e5cad441d275dc7dbc01dc /machines/nixos/x86_64-linux/rivendell.nix | |
| parent | configure rate limiting for nginx (diff) | |
| download | infra-aa1d82481f315b714fa5e6cced6142e4925bd647.tar.gz | |
backup to the synology nas
In addition to do a local backup, we also backup to the synology nas. We
don't configure what to backup in the profiles, but instead in the host
configuration.
Diffstat (limited to '')
| -rw-r--r-- | machines/nixos/x86_64-linux/rivendell.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/machines/nixos/x86_64-linux/rivendell.nix b/machines/nixos/x86_64-linux/rivendell.nix index 1e7abcf..8e8ab20 100644 --- a/machines/nixos/x86_64-linux/rivendell.nix +++ b/machines/nixos/x86_64-linux/rivendell.nix @@ -72,6 +72,9 @@ openFirewall = true; }; + services.restic.backups.local.paths = [ "/var/lib/gitolite/repositories" ]; + services.restic.backups.synology.paths = [ "/var/lib/gitolite/repositories" ]; + home-manager = { users.${adminUser.name} = { imports = [ |
