feat: add syncthing directories

This commit is contained in:
Jacob Bachmann 2024-03-26 14:45:07 +01:00
parent bd35bb32a9
commit aa06b182e7
Signed by: bchmnn
GPG key ID: 732A612DAD28067D

View file

@ -1,9 +1,5 @@
{ ... }: {
services.syncthing = {
};
services.syncthing = {
enable = true;
openDefaultPorts = true;
@ -17,12 +13,62 @@
id = "PJA2MBA-66PQQEO-5KICONS-FGHDH46-YRV2X5Y-47UUP77-QXI2WNS-R33FPAK";
};
};
folders = {
"dl" = {
path = "~/dl";
id = "z97eb-myxtp";
devices = [
"IROH"
"T430"
];
};
"docs" = {
path = "~/docs";
id = "rhh6x-dmymv";
devices = [
"IROH"
"T430"
];
};
"music" = {
path = "~/music";
id = "umzur-ncrf6";
devices = [
"IROH"
"T430"
];
};
"pics" = {
path = "~/pics";
id = "cuejs-esf7u";
devices = [
"IROH"
"T430"
];
};
"tmp" = {
path = "~/tmp";
id = "d6k5d-hdxyh";
devices = [
"IROH"
"T430"
];
};
"vids" = {
path = "~/vids";
id = "bjx9u-ujjwi";
devices = [
"IROH"
"T430"
];
};
};
};
user = "gandalf";
dataDir = "/home/gandalf";
overrideFolders = true;
};
}