Remove deprecated declarative set in Syncthing

This commit is contained in:
coolneng 2021-08-04 15:49:51 +01:00
parent fcf246beab
commit 71d8daf782
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 45 additions and 50 deletions

View File

@ -16,65 +16,60 @@
enable = true; enable = true;
user = "coolneng"; user = "coolneng";
dataDir = "/home/coolneng"; dataDir = "/home/coolneng";
declarative = { devices.zion = {
devices = { id = "FLI2RS7-GNI5PDM-SQRNF7P-YJIOXJ7-46FRPEI-NRLQGBC-HXRWG7O-RKOVLAF";
zion = { addresses = [ "tcp://192.168.13.2:22000" ];
id = };
"FLI2RS7-GNI5PDM-SQRNF7P-YJIOXJ7-46FRPEI-NRLQGBC-HXRWG7O-RKOVLAF"; folders = {
addresses = [ "tcp://192.168.13.2:22000" ]; Documents = {
id = "wusdj-bfjkr";
path = "/home/coolneng/Documents";
devices = [ "zion" ];
versioning = {
type = "simple";
params.keep = "5";
}; };
}; };
folders = {
Documents = {
id = "wusdj-bfjkr";
path = "/home/coolneng/Documents";
devices = [ "zion" ];
versioning = {
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_288y-photos"; id = "m2007j20cg_288y-photos";
type = "receiveonly"; type = "receiveonly";
path = "/home/coolneng/Photos/Phone"; path = "/home/coolneng/Photos/Phone";
devices = [ "zion" ]; devices = [ "zion" ];
}; };
Files = { Files = {
id = "tsk52-u6rbk"; id = "tsk52-u6rbk";
path = "/home/coolneng/Files"; path = "/home/coolneng/Files";
devices = [ "zion" ]; devices = [ "zion" ];
};
}; };
}; };
}; };