feat: add syncthing directories
This commit is contained in:
parent
bd35bb32a9
commit
aa06b182e7
1 changed files with 51 additions and 5 deletions
|
|
@ -1,9 +1,5 @@
|
||||||
{ ... }: {
|
{ ... }: {
|
||||||
|
|
||||||
services.syncthing = {
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
services.syncthing = {
|
services.syncthing = {
|
||||||
enable = true;
|
enable = true;
|
||||||
openDefaultPorts = true;
|
openDefaultPorts = true;
|
||||||
|
|
@ -17,12 +13,62 @@
|
||||||
id = "PJA2MBA-66PQQEO-5KICONS-FGHDH46-YRV2X5Y-47UUP77-QXI2WNS-R33FPAK";
|
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";
|
user = "gandalf";
|
||||||
dataDir = "/home/gandalf";
|
dataDir = "/home/gandalf";
|
||||||
|
|
||||||
overrideFolders = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue