about summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--docs/tools.org6
-rw-r--r--modules/services/syncthing/default.nix4
2 files changed, 8 insertions, 2 deletions
diff --git a/docs/tools.org b/docs/tools.org
index 17c9110..8dfebe1 100644
--- a/docs/tools.org
+++ b/docs/tools.org
@@ -1,5 +1,11 @@
 #+TITLE: Collection of recipes for various tools
 
+* syncthing
+** connection to the remote UI
+The web UI for syncthing is binded to localhost. To access the UI of a remote host, create a SSH tunnel:
+#+begin_src sh
+ssh -L 1235:localhost:8384 -N -f 192.168.0.106
+#+end_src
 * yt-dlp
 - use =--merge-output-format=mkv=
 - check what's the best audio and video for a video
diff --git a/modules/services/syncthing/default.nix b/modules/services/syncthing/default.nix
index c4739d6..7f7ed3a 100644
--- a/modules/services/syncthing/default.nix
+++ b/modules/services/syncthing/default.nix
@@ -17,9 +17,9 @@ in {
       cert = secrets."syncthing/cert".path;
       key = secrets."syncthing/key".path;
 
-      folders.Sync = {
+      folders.Documents = {
         path = "/home/fcuny/documents";
-        devices = [ "tahoe" ];
+        devices = [ "aptos" "tahoe" ];
       };
 
       folders.PixelCamera = {