nixos/services/syncthing/default.nix

65 lines
2.1 KiB
Nix

{...}: {
services.syncthing = {
enable = true;
systemService = true;
openDefaultPorts = true;
devices = {
"ion".id = "7DD4NPH-6T2ET5A-4FCLFWW-CS6UR2W-IO5XQXC-DM5B2Q4-6X7DGU2-UKKVEAB";
"legion".id = "6OX54CG-EAQMXKA-K7TXB5P-G5A27HB-52JE2FA-XNAYZU6-YMIDBXP-RKPBJQV";
"monarch".id = "CJSUZQY-67XBLEZ-VKVHQHI-BLEUZNF-G4237AV-AW44CGH-F3JDKXU-CWT3RQZ";
"northstar".id = "W3QZTFS-BB42JYB-NQBZ5IM-H3WLAUQ-M57I2CP-FALWGEX-JI2ZZOC-QWAX2QQ";
"remarkable".id = "GHB6JKS-JOA3HHP-TYHB3IJ-GLV26QW-RWRZAMG-XYFGFB6-QLUHDSH-GNPZVAO";
"vanguard".id = "I366QNQ-D3FTDRX-RNOTXMW-YITZXOF-DSCDMQD-63Q72LI-ME2Y4HZ-T34RMQK";
"N0245".id = "ZOL5YHK-ZZZULIE-UHGVKHW-H5E4BP7-S4CZBOX-OIZVUCV-RZUXOKA-QVBUBAJ";
};
folders = {
"Archive" = {
id = "hwnqy-xzcdx";
ignorePerms = true;
devices = ["legion" "monarch" "vanguard"];
};
"Books" = {
id = "zjmxy-ycmbq";
ignorePerms = true;
devices = ["legion" "monarch" "northstar" "remarkable" "vanguard"];
};
"Comics" = {
id = "kc2h0-q3wot";
ignorePerms = true;
devices = ["ion" "legion" "monarch" "northstar" "vanguard"];
};
"Documents" = {
id = "qc6qa-bipsd";
ignorePerms = true;
devices = ["legion" "monarch" "northstar" "vanguard"];
};
"Exports" = {
id = "tof2e-pdtde";
ignorePerms = true;
devices = ["legion" "monarch" "vanguard"];
};
"Notes" = {
id = "4ggjz-5dyop";
ignorePerms = true;
devices = ["ion" "legion" "monarch" "northstar" "vanguard" "N0245"];
};
"Pictures" = {
id = "ziuj8-rm6dn";
ignorePerms = true;
devices = ["ion" "legion" "monarch" "northstar" "vanguard"];
};
"Xochitl" = {
id = "dkcbx-kq7hl";
type = "receiveonly";
ignorePerms = true;
devices = ["legion" "remarkable"];
};
"Zotero" = {
id = "huyvn-liwc9";
ignorePerms = true;
devices = ["ion" "legion" "monarch" "northstar" "vanguard" "N0245"];
};
};
};
}