Added bigbox home share send-only

This commit is contained in:
2025-06-29 17:39:27 +03:00
parent d0b6cb1113
commit 3d5387a7be

View File

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