syncthing: more folders

This commit is contained in:
Motiejus Jakštys 2023-09-18 12:44:09 +03:00
parent e6a47f4420
commit 031e85fa82

View File

@ -44,6 +44,46 @@
id = "d3hur-cbzyw"; id = "d3hur-cbzyw";
label = "Pictures"; label = "Pictures";
}; };
Music = {
devices = ["fwminex" "mxp10" "vno1-oh2"];
id = "tg94v-cqcwr";
label = "music";
};
video-shared = {
devices = ["mxp10" "fwminex" "vno1-oh2"];
id = "byzmw-f6zhg";
label = "video-shared";
};
stud-cache = {
devices = ["fwminex" "vno1-oh2"];
id = "2kq7n-jqzxj";
label = "stud-cache";
};
M-R = {
devices = ["fwminex" "rzj-744P2PE" "mxp10" "vno1-oh2"];
id = "evgn9-ahngz";
label = "M-R";
};
Irenos = {
devices = ["KrekenavosNamai" "vno1-oh2"];
id = "wuwai-qkcqj";
label = "Irenos";
};
www-fwminex = {
devices = ["fwminex" "vno1-oh2"];
id = "7z9sw-2nubh";
label = "www-fwminex";
};
www-mxp10 = {
devices = ["mxp10" "vno1-oh2"];
id = "gqrtz-prx9h";
label = "www-mxp10";
};
mykolo = {
devices = ["mxp10"];
id = "wslmq-fyw4w";
label = "mykolo";
};
}; };
in { in {
@ -90,52 +130,20 @@ in {
{} {}
// ( // (
lib.optionalAttrs (config.networking.hostName == "vno1-oh2") { lib.optionalAttrs (config.networking.hostName == "vno1-oh2") {
"/var/www/dl/tel" = { "/var/www/dl/tel" = www-mxp10;
devices = ["mxp10"]; "/var/www/dl/fwminex" = www-fwminex;
id = "gqrtz-prx9h"; "/var/www/dl/mykolo" = mykolo;
label = "www-tel";
};
"/var/www/dl/fwminex" = {
devices = ["fwminex"];
id = "7z9sw-2nubh";
label = "www-fwminex";
};
"/var/www/dl/mykolo" = {
devices = ["mxp10"];
id = "wslmq-fyw4w";
label = "mykolo";
};
"${cfg.dataDir}/annex2/Books" = Books; "${cfg.dataDir}/annex2/Books" = Books;
"${cfg.dataDir}/annex2/M-Active" = M-Active; "${cfg.dataDir}/annex2/M-Active" = M-Active;
"${cfg.dataDir}/annex2/M-Camera" = M-Camera; "${cfg.dataDir}/annex2/M-Camera" = M-Camera;
"${cfg.dataDir}/annex2/M-Documents" = M-Documents; "${cfg.dataDir}/annex2/M-Documents" = M-Documents;
"${cfg.dataDir}/annex2/R-Documents" = R-Documents; "${cfg.dataDir}/annex2/R-Documents" = R-Documents;
"${cfg.dataDir}/annex2/Pictures" = Pictures; "${cfg.dataDir}/annex2/Pictures" = Pictures;
"${cfg.dataDir}/annex2/M-R" = { "${cfg.dataDir}/annex2/M-R" = M-R;
devices = ["fwminex" "rzj-744P2PE" "mxp10"]; "${cfg.dataDir}/stud-cache" = stud-cache;
id = "evgn9-ahngz"; "${cfg.dataDir}/video/shared" = video-shared;
label = "M-R"; "${cfg.dataDir}/music" = Music;
}; "${cfg.dataDir}/irenos" = Irenos;
"${cfg.dataDir}/stud-cache" = {
devices = ["fwminex"];
id = "2kq7n-jqzxj";
label = "stud-cache";
};
"${cfg.dataDir}/video/shared" = {
devices = ["mxp10" "fwminex"];
id = "byzmw-f6zhg";
label = "video-shared";
};
"${cfg.dataDir}/music" = {
devices = ["fwminex" "mxp10"];
id = "tg94v-cqcwr";
label = "music";
};
"${cfg.dataDir}/irenos" = {
devices = ["KrekenavosNamai"];
id = "wuwai-qkcqj";
label = "Irenos";
};
} }
) )
// ( // (
@ -145,6 +153,11 @@ in {
"${cfg.dataDir}/M-Documents" = M-Documents; "${cfg.dataDir}/M-Documents" = M-Documents;
"${cfg.dataDir}/M-Camera" = M-Camera; "${cfg.dataDir}/M-Camera" = M-Camera;
"${cfg.dataDir}/Pictures" = Pictures; "${cfg.dataDir}/Pictures" = Pictures;
"${cfg.dataDir}/Music" = Music;
"${cfg.dataDir}/M-R" = M-R;
"${cfg.dataDir}/Video" = video-shared;
"${cfg.dataDir}/stud-cache" = stud-cache;
"${cfg.dataDir}/www" = www-fwminex;
} }
); );
}; };