Added bigbox home share send-only
This commit is contained in:
@@ -1,8 +1,4 @@
|
|||||||
{
|
{ config, pkgs, ... }: {
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
services.syncthing = {
|
services.syncthing = {
|
||||||
enable = true;
|
enable = true;
|
||||||
openDefaultPorts = true;
|
openDefaultPorts = true;
|
||||||
@@ -18,7 +14,12 @@
|
|||||||
settings = {
|
settings = {
|
||||||
devices = {
|
devices = {
|
||||||
"phone" = {
|
"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 = {
|
folders = {
|
||||||
@@ -27,6 +28,12 @@
|
|||||||
path = "/home/user/brain_zero/"; # Which folder to add to Syncthing
|
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/" ];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user