From aa1d82481f315b714fa5e6cced6142e4925bd647 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Thu, 27 Nov 2025 13:29:39 -0800 Subject: 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. --- machines/nixos/x86_64-linux/rivendell.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'machines/nixos') 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 = [ -- cgit v1.2.3