Syncthing: update for upstream option change

This commit is contained in:
Payas Relekar 2023-05-28 16:20:10 +05:30
parent 872bd8710b
commit c716951f29
3 changed files with 58 additions and 58 deletions

View file

@ -20,7 +20,7 @@
# Always use this in combination with above networing config to limit the access from outside LAN
guiAddress = "0.0.0.0:8384";
settings.folders = {
folders = {
Keepass = {
devices = [ "hermes" "Childish Tycoon" ];
type = "receiveonly";
@ -47,7 +47,7 @@
Music = {
devices = [ "hermes" "Childish Tycoon" ];
type = "receiveonly";
fsWatcherEnabled = true;
watch = true;
};
};
};

View file

@ -7,12 +7,12 @@
services.syncthing = {
guiAddress = "127.0.0.1:8384";
settings.folders = {
folders = {
Keepass = {
enable = true;
devices = [ "bebop" "Childish Tycoon" ];
type = "sendreceive";
fsWatcherEnabled = true;
watch = true;
versioning = {
type = "simple";
params.keep = "5";
@ -23,7 +23,7 @@
enable = true;
devices = [ "bebop" "Childish Tycoon" ];
type = "sendreceive";
fsWatcherEnabled = true;
watch = true;
versioning = {
type = "staggered";
params = {
@ -37,14 +37,14 @@
enable = true;
devices = [ "bebop" "Childish Tycoon" ];
type = "sendreceive";
fsWatcherEnabled = true;
watch = true;
};
Music = {
enable = true;
devices = [ "bebop" "Childish Tycoon" ];
type = "sendreceive";
fsWatcherEnabled = true;
watch = true;
};
@ -53,7 +53,7 @@
# Kept as future reminder
devices = [ ]; # no pause option in NixOS module, no sharing is as good as paused
type = "sendreceive";
fsWatcherEnabled = false; # disabled folder, no need to watch
watch = false; # disabled folder, no need to watch
};
};
};

View file

@ -20,67 +20,67 @@ in
# overrideFolders = true;
overrideDevices = false;
settings = {
extraOptions = {
gui = {
theme = "black";
};
};
devices = {
hermes = {
id =
"LYFSPF4-L6C24OM-IDYZAUT-5D32FAS-FCHN7FR-CUPWEEE-YOZYBQ3-RL5T5Q6";
name = "hermes";
introducer = false; # Only use declaratively configured devices
};
"Childish Tycoon" = {
id =
"ERSVP63-ASZCCJB-FWLSZ3N-MDZ4SV5-IXBP5QD-QK235LI-DY5BYRC-6NSWUQS";
name = "Childish Tycoon";
introducer = false; # Only use declaratively configured devices
};
bebop = {
id =
"M6OJZSY-MPOQY76-BSZUFBQ-QK7LBM6-3YBOJZS-5H2K7UV-S6B34ON-THT3OAI";
name = "bebop";
introducer = false; # Only use declaratively configured devices
};
devices = {
hermes = {
id =
"LYFSPF4-L6C24OM-IDYZAUT-5D32FAS-FCHN7FR-CUPWEEE-YOZYBQ3-RL5T5Q6";
name = "hermes";
introducer = false; # Only use declaratively configured devices
};
folders = {
# devices, type and versioning to be configured per-node
# Disable unwanted folder in per-node config
"Childish Tycoon" = {
id =
"ERSVP63-ASZCCJB-FWLSZ3N-MDZ4SV5-IXBP5QD-QK235LI-DY5BYRC-6NSWUQS";
name = "Childish Tycoon";
introducer = false; # Only use declaratively configured devices
};
Keepass = {
id = "qsoil-jtfof";
label = "Keepass";
path = "/home/${payas}/Keepass";
};
bebop = {
id =
"M6OJZSY-MPOQY76-BSZUFBQ-QK7LBM6-3YBOJZS-5H2K7UV-S6B34ON-THT3OAI";
name = "bebop";
introducer = false; # Only use declaratively configured devices
};
};
Syncthing = {
id = "yg7in-0dlb8";
label = "Syncthing";
path = "/home/${payas}/Syncthing";
};
folders = {
# devices, type and versioning to be configured per-node
# Disable unwanted folder in per-node config
Music = {
id = "3qsnr-wjn9w";
label = "Music";
path = "/home/${payas}/Music";
};
Keepass = {
id = "qsoil-jtfof";
label = "Keepass";
path = "/home/${payas}/Keepass";
};
org = {
id = "9ta3z-yrde3";
label = "org";
path = "/home/${payas}/org";
};
Syncthing = {
id = "yg7in-0dlb8";
label = "Syncthing";
path = "/home/${payas}/Syncthing";
};
Pictures = {
id = "rjozc-vd3hh";
label = "Pictures";
path = "/home/${payas}/Pictures";
};
Music = {
id = "3qsnr-wjn9w";
label = "Music";
path = "/home/${payas}/Music";
};
org = {
id = "9ta3z-yrde3";
label = "org";
path = "/home/${payas}/org";
};
Pictures = {
id = "rjozc-vd3hh";
label = "Pictures";
path = "/home/${payas}/Pictures";
};
};
};