From 94f8172f0f5a6d5568b5204d88c5d45e77a20f69 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 24 Apr 2022 13:46:18 -0700 Subject: backups: do backups for the laptop From the laptop I only backup /home/fcuny, as the rest should be straightforward to rebuild with nix. I run that backup as my own user, since I need my ssh key to use the remote repository (which is on the NAS). I also need a new secret for it (I might have been able to use `pass' for this, but well, that's easy enough). For the NAS, I update the list of directories to backup to include home, this will be on the systems backup. --- hosts/tahoe/services.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'hosts/tahoe') diff --git a/hosts/tahoe/services.nix b/hosts/tahoe/services.nix index 7de94f6..9bd7162 100644 --- a/hosts/tahoe/services.nix +++ b/hosts/tahoe/services.nix @@ -43,7 +43,8 @@ in { repository = "/data/slow/backups/systems"; timerConfig = { OnCalendar = "00:15"; }; passwordFile = secrets."restic/repo-systems".path; - paths = [ "/data/fast/music" "/data/fast/photos" "/data/fast/videos" ]; + paths = + [ "/home" "/data/fast/music" "/data/fast/photos" "/data/fast/videos" ]; }; }; } -- cgit 1.4.1