From 3d5387a7be3d88e554be3cb1e4b667db0397c393 Mon Sep 17 00:00:00 2001 From: kenny Date: Sun, 29 Jun 2025 17:39:27 +0300 Subject: [PATCH] Added bigbox home share send-only --- hosts/puter/syncthing.nix | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/hosts/puter/syncthing.nix b/hosts/puter/syncthing.nix index 3e86939..dba6a64 100644 --- a/hosts/puter/syncthing.nix +++ b/hosts/puter/syncthing.nix @@ -1,8 +1,4 @@ -{ - config, - pkgs, - ... -}: { +{ config, pkgs, ... }: { services.syncthing = { enable = true; openDefaultPorts = true; @@ -18,14 +14,25 @@ settings = { devices = { "phone" = { - id = "N3RII7R-4YOKJ46-HY6NSTD-TPE7SW4-N66CWVQ-J2JVW7E-NARRMBF-JG27YQ7"; + id = + "N3RII7R-4YOKJ46-HY6NSTD-TPE7SW4-N66CWVQ-J2JVW7E-NARRMBF-JG27YQ7"; + }; + "bigbox" = { + id = + "RFFXZJI-HJTEDCU-M7MU3SW-M7DJK4U-MESRKYA-OGHYOSG-KNZO7JB-6LQ5VAE"; }; }; folders = { "brain_zero" = { # Name of folder in Syncthing, also the folder ID path = "/home/user/brain_zero/"; # Which folder to add to Syncthing - devices = ["phone"]; # Which devices to share the folder with + devices = [ "phone" ]; # Which devices to share the folder with + }; + "puter_home" = { + path = "/home/user/"; + type = "sendonly"; + devices = [ "bigbox" ]; + ignores = [ ".*" "!.ssh/" ]; }; }; };