Commit 191824037731

Vincent Demeester <vincent@sbr.pm>
2026-01-08 17:08:34
chore(sakhalin): Remove obsolete vrsync service
The vrsync service was syncing data to synodine that is now handled by syncthing (screenshots, wallpapers, documents) or is outdated (photos, music). Removing the hourly sync service and configuration. Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent ae2c9af
Changed files (1)
systems
sakhalin
systems/sakhalin/extra.nix
@@ -446,38 +446,7 @@ in
     };
   };
 
-  environment.systemPackages = with pkgs; [ yt-dlp ]; # -----------------------------------
-  environment.etc."vrsync".text = ''
-    /home/vincent/desktop/pictures/screenshots/ vincent@synodine.home:/volumeUSB2/usbshare/pictures/screenshots/
-    /home/vincent/desktop/pictures/wallpapers/ vincent@synodine.home:/volumeUSB2/usbshare/pictures/wallpapers/
-    /home/vincent/desktop/documents/ vincent@synodine.home:/volume1/documents/
-    /mnt/gaia/photos/ vincent@synodine.home:/volumeUSB2/usbshare/pictures/photos/
-    /mnt/gaia/music/ vincent@synodine.home:/volumeUSB2/usbshare/music/
-  '';
-  systemd.services.vrsync = {
-    description = "vrsync - sync folders to NAS";
-    requires = [ "network-online.target" ];
-    after = [ "network-online.target" ];
-
-    unitConfig.X-StopOnRemoval = false;
-    restartIfChanged = false;
-
-    path = with pkgs; [
-      rsync
-      coreutils
-      bash
-      openssh
-    ];
-    script = ''
-      ${pkgs.vrsync}/bin/vrsync
-    '';
-
-    startAt = "hourly";
-    serviceConfig = {
-      Type = "oneshot";
-      OnFailure = "status-email-root@%n.service";
-    };
-  };
+  environment.systemPackages = with pkgs; [ yt-dlp ];
   # mr -i u daily
   systemd.services.mr = {
     description = "Update configs daily";