Adapt Syncthing config to upstream changes

This commit is contained in:
coolneng 2023-05-24 12:34:45 +02:00
parent 6f2a82c983
commit 58678046f3
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 54 additions and 52 deletions

View File

@ -17,67 +17,69 @@
user = "coolneng"; user = "coolneng";
dataDir = "/home/coolneng"; dataDir = "/home/coolneng";
key = config.age.secrets.syncthing.path; key = config.age.secrets.syncthing.path;
devices.zion = { settings = {
id = "FLI2RS7-GNI5PDM-SQRNF7P-YJIOXJ7-46FRPEI-NRLQGBC-HXRWG7O-RKOVLAF"; devices.zion = {
addresses = [ "tcp://192.168.13.2:22000" ]; id = "FLI2RS7-GNI5PDM-SQRNF7P-YJIOXJ7-46FRPEI-NRLQGBC-HXRWG7O-RKOVLAF";
}; addresses = [ "tcp://192.168.13.2:22000" ];
folders = { };
Documents = { folders = {
id = "wusdj-bfjkr"; Documents = {
path = "/home/coolneng/Documents"; id = "wusdj-bfjkr";
devices = [ "zion" ]; path = "/home/coolneng/Documents";
versioning = { devices = [ "zion" ];
type = "simple"; versioning = {
params.keep = "5"; type = "simple";
params.keep = "5";
};
}; };
};
Notes = { Notes = {
id = "kafhz-bfmzm"; id = "kafhz-bfmzm";
path = "/home/coolneng/Notes"; path = "/home/coolneng/Notes";
devices = [ "zion" ]; devices = [ "zion" ];
versioning = { versioning = {
type = "simple"; type = "simple";
params.keep = "5"; params.keep = "5";
};
}; };
};
Music = { Music = {
id = "2aqt7-vpprc"; id = "2aqt7-vpprc";
path = "/home/coolneng/Music"; path = "/home/coolneng/Music";
devices = [ "zion" ]; devices = [ "zion" ];
}; };
Photos = { Photos = {
id = "mjibc-ustcg"; id = "mjibc-ustcg";
path = "/home/coolneng/Photos"; path = "/home/coolneng/Photos";
devices = [ "zion" ]; devices = [ "zion" ];
}; };
Projects = { Projects = {
id = "cjhmu-avy9v"; id = "cjhmu-avy9v";
path = "/home/coolneng/Projects"; path = "/home/coolneng/Projects";
devices = [ "zion" ]; devices = [ "zion" ];
}; };
Phone = { Phone = {
id = "m2007j20cg_vc7r-photos"; id = "m2007j20cg_vc7r-photos";
type = "receiveonly"; type = "receiveonly";
path = "/home/coolneng/Photos/Phone"; path = "/home/coolneng/Photos/Phone";
devices = [ "zion" ]; devices = [ "zion" ];
}; };
Phone-screenshots = { Phone-screenshots = {
id = "pp70r-pbr70"; id = "pp70r-pbr70";
type = "receiveonly"; type = "receiveonly";
path = "/home/coolneng/Photos/Phone-screenshots"; path = "/home/coolneng/Photos/Phone-screenshots";
devices = [ "zion" ]; devices = [ "zion" ];
}; };
Files = { Files = {
id = "tsk52-u6rbk"; id = "tsk52-u6rbk";
path = "/home/coolneng/Files"; path = "/home/coolneng/Files";
devices = [ "zion" ]; devices = [ "zion" ];
};
}; };
}; };
}; };