add aicloud backup timer
This commit is contained in:
parent
32adb943dc
commit
d33c120ee9
1 changed files with 10 additions and 0 deletions
|
|
@ -14,8 +14,18 @@
|
||||||
../../../modules/ghostty.nix
|
../../../modules/ghostty.nix
|
||||||
../../../modules/papis.nix
|
../../../modules/papis.nix
|
||||||
../../../modules/libreoffice.nix
|
../../../modules/libreoffice.nix
|
||||||
|
../../../modules/schedule.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
services.scheduled-commands.aicloud-backup = {
|
||||||
|
enable = true;
|
||||||
|
description = "Backup aicloud files";
|
||||||
|
interval = "*-*-* 06:00:00";
|
||||||
|
commands = [
|
||||||
|
"rsync -avP aicloud.lan:~/ ~/Backup/aicloud/ --exclude='/.*'"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
programs.yt-dlp-custom = {
|
programs.yt-dlp-custom = {
|
||||||
enable = true;
|
enable = true;
|
||||||
downloadDir = "~/Downloads/web-video";
|
downloadDir = "~/Downloads/web-video";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue