From 07e7a68b580b4117d679cd841c00b40c6b4ef475 Mon Sep 17 00:00:00 2001 From: Yan Lin Date: Mon, 1 Dec 2025 23:19:38 +0100 Subject: [PATCH] move aicloud backup to hs --- hosts/nixos/hs/home.nix | 9 +++++++-- hosts/nixos/thinkpad/home.nix | 13 ------------- 2 files changed, 7 insertions(+), 15 deletions(-) diff --git a/hosts/nixos/hs/home.nix b/hosts/nixos/hs/home.nix index b591d58..edec75b 100644 --- a/hosts/nixos/hs/home.nix +++ b/hosts/nixos/hs/home.nix @@ -11,8 +11,13 @@ # hs-specific home configuration - syncthing-custom = { - enabledFolders = [ "Credentials" "Documents" "Archive" "NSFW" ]; + services.scheduled-commands.aicloud-backup = { + enable = true; + description = "Backup aicloud files"; + interval = "*-*-* 12:00:00"; + commands = [ + "rsync -avP aicloud:~/ /mnt/storage/Backup/aicloud/ --exclude='/.*'" + ]; }; # yt-dlp configuration - store videos on large storage diff --git a/hosts/nixos/thinkpad/home.nix b/hosts/nixos/thinkpad/home.nix index 4b065fd..a2aab8b 100644 --- a/hosts/nixos/thinkpad/home.nix +++ b/hosts/nixos/thinkpad/home.nix @@ -17,19 +17,6 @@ ../../../modules/schedule.nix ]; - syncthing-custom = { - enabledFolders = [ "Credentials" "Documents" "Archive" "NSFW" ]; - }; - - services.scheduled-commands.aicloud-backup = { - enable = true; - description = "Backup aicloud files"; - interval = "*-*-* 06:00:00"; - commands = [ - "rsync -avP aicloud.lan:~/ ~/Backup/aicloud/ --exclude='/.*'" - ]; - }; - # Enable Ghostty terminal with OSC-52 clipboard support programs.ghostty-custom = { enable = true;