forked from hacc/haccfiles
services/syncthing: update config format
This commit is contained in:
parent
6de0b91beb
commit
8716f2b308
1 changed files with 22 additions and 24 deletions
|
@ -6,32 +6,30 @@
|
||||||
openDefaultPorts = true;
|
openDefaultPorts = true;
|
||||||
configDir = "/persist/var/lib/syncthing/";
|
configDir = "/persist/var/lib/syncthing/";
|
||||||
dataDir = "/persist/data/syncthing/";
|
dataDir = "/persist/data/syncthing/";
|
||||||
declarative = {
|
devices = {
|
||||||
devices = {
|
schweby = {
|
||||||
schweby = {
|
addresses = []; # empty = dynamic
|
||||||
addresses = []; # empty = dynamic
|
id = "YF7DNNS-B63GERK-YFQ7G7Q-2DG7557-VIWFOTK-R3JOS63-T76POBQ-F6MO6AH";
|
||||||
id = "YF7DNNS-B63GERK-YFQ7G7Q-2DG7557-VIWFOTK-R3JOS63-T76POBQ-F6MO6AH";
|
|
||||||
};
|
|
||||||
raphael-laptop = {
|
|
||||||
addresses = []; # empty = dynamic
|
|
||||||
id = "72B3T74-NOMJV3X-EVJXTJF-5GGAEZB-ZDKBHXQ-VQNRYEU-YCPA2JP-L6NGAAG";
|
|
||||||
};
|
|
||||||
# zauberberg
|
|
||||||
conway = {
|
|
||||||
addresses = []; # empty = dynamic
|
|
||||||
id = "HV7IU2N-Q4W3A7F-BSASR43-OB575SM-47FY2UW-7N5GMFM-PX3LWRN-HXBXMQF";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
raphael-laptop = {
|
||||||
|
addresses = []; # empty = dynamic
|
||||||
|
id = "72B3T74-NOMJV3X-EVJXTJF-5GGAEZB-ZDKBHXQ-VQNRYEU-YCPA2JP-L6NGAAG";
|
||||||
|
};
|
||||||
|
# zauberberg
|
||||||
|
conway = {
|
||||||
|
addresses = []; # empty = dynamic
|
||||||
|
id = "HV7IU2N-Q4W3A7F-BSASR43-OB575SM-47FY2UW-7N5GMFM-PX3LWRN-HXBXMQF";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
folders = {
|
folders = {
|
||||||
"/persist/data/syncthing/hacc/" = {
|
"/persist/data/syncthing/hacc/" = {
|
||||||
id = "qt2ly-xvvvs";
|
id = "qt2ly-xvvvs";
|
||||||
devices = [ "schweby" "conway" "raphael-laptop"];
|
devices = [ "schweby" "conway" "raphael-laptop"];
|
||||||
type = "receiveonly";
|
type = "receiveonly";
|
||||||
versioning = {
|
versioning = {
|
||||||
type = "simple";
|
type = "simple";
|
||||||
params.keep = "10";
|
params.keep = "10";
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue