add backup box

This commit is contained in:
Yan Lin 2025-12-07 01:58:54 +01:00
parent 4169da9e22
commit a2be1730e9
3 changed files with 34 additions and 12 deletions

View file

@ -17,17 +17,6 @@
];
};
services.scheduled-commands.backup-to-thinkpad = {
enable = true;
description = "Backup files to thinkpad";
interval = "*-*-* 00:00:00";
commands = [
"rsync-backup /mnt/storage/appbulk/immich/library/admin thinkpad:~/Backup/photo-library"
"rsync-backup /mnt/storage/Media/DCIM thinkpad:~/Backup/DCIM"
"rsync-backup /mnt/storage/Media/nsfw thinkpad:~/Backup/nsfw"
];
};
home.packages = with pkgs; [
];