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/" ]; }; }; };