machines{serverle,newton}: fix syncthing for 23.11

This commit is contained in:
Felix Buehler 2023-11-13 20:36:31 +01:00
parent 0141afda14
commit 9d6d14c393
2 changed files with 105 additions and 105 deletions

View file

@ -17,12 +17,11 @@
openDefaultPorts = true; openDefaultPorts = true;
key = config.sops.secrets."syncthing/key".path; key = config.sops.secrets."syncthing/key".path;
cert = config.sops.secrets."syncthing/cert".path; cert = config.sops.secrets."syncthing/cert".path;
extraOptions = { settings = {
options = { options = {
localAnnounceEnabled = false; localAnnounceEnabled = false;
urAccepted = 3; urAccepted = 3;
}; };
};
devices = { devices = {
"thinkman" = { "thinkman" = {
id = "KXSCPX3-JCCFZM4-S2LQZZL-3AM6WRL-IPNWVG2-IB5FEDJ-YYFUIRR-VMDO3AL"; id = "KXSCPX3-JCCFZM4-S2LQZZL-3AM6WRL-IPNWVG2-IB5FEDJ-YYFUIRR-VMDO3AL";
@ -56,7 +55,7 @@
"Music" = { "Music" = {
id = "mphdq-n6q7y"; id = "mphdq-n6q7y";
path = "/data/music"; path = "/data/music";
watch = false; fsWatcherEnabled = false;
devices = [ devices = [
"thinkman" "thinkman"
"birdman" "birdman"
@ -66,7 +65,7 @@
"Pictures" = { "Pictures" = {
id = "cujyo-yiabu"; id = "cujyo-yiabu";
path = "/data/photos"; path = "/data/photos";
watch = false; fsWatcherEnabled = false;
devices = [ devices = [
"thinkman" "thinkman"
"serverle" "serverle"
@ -74,4 +73,5 @@
}; };
}; };
}; };
};
} }

View file

@ -18,11 +18,10 @@
openDefaultPorts = true; openDefaultPorts = true;
key = config.sops.secrets."syncthing/key".path; key = config.sops.secrets."syncthing/key".path;
cert = config.sops.secrets."syncthing/cert".path; cert = config.sops.secrets."syncthing/cert".path;
extraOptions = { settings = {
options = { options = {
urAccepted = 3; urAccepted = 3;
}; };
};
devices = { devices = {
"thinkman" = { "thinkman" = {
id = "KXSCPX3-JCCFZM4-S2LQZZL-3AM6WRL-IPNWVG2-IB5FEDJ-YYFUIRR-VMDO3AL"; id = "KXSCPX3-JCCFZM4-S2LQZZL-3AM6WRL-IPNWVG2-IB5FEDJ-YYFUIRR-VMDO3AL";
@ -56,7 +55,7 @@
"Music" = { "Music" = {
id = "mphdq-n6q7y"; id = "mphdq-n6q7y";
path = "/data/music"; path = "/data/music";
watch = false; fsWatcherEnabled = false;
devices = [ devices = [
"thinkman" "thinkman"
"birdman" "birdman"
@ -66,7 +65,7 @@
"Pictures" = { "Pictures" = {
id = "cujyo-yiabu"; id = "cujyo-yiabu";
path = "/data/photos"; path = "/data/photos";
watch = false; fsWatcherEnabled = false;
devices = [ devices = [
"thinkman" "thinkman"
"newton" "newton"
@ -81,4 +80,5 @@
}; };
}; };
}; };
};
} }