syncthing: +Maildir

This commit is contained in:
Motiejus Jakštys 2024-11-13 09:15:55 +02:00
parent d30e25cca8
commit 844eb55590

View File

@ -29,6 +29,14 @@ let
id = "8lk0n-mm63y"; id = "8lk0n-mm63y";
label = "Books"; label = "Books";
}; };
Maildir = {
devices = [
"vno1-gdrx"
"fwminex"
];
id = "9lk1k-za124";
label = "Maildir";
};
M-Active = { M-Active = {
devices = [ devices = [
"vno1-gdrx" "vno1-gdrx"
@ -246,6 +254,7 @@ in
"/var/www/dl/mtworx" = www-mtworx; "/var/www/dl/mtworx" = www-mtworx;
"/var/www/dl/mykolo" = mykolo; "/var/www/dl/mykolo" = mykolo;
"${cfg.dataDir}/annex2/Books" = Books; "${cfg.dataDir}/annex2/Books" = Books;
"${cfg.dataDir}/annex2/Maildir" = Maildir;
"${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;
@ -269,6 +278,7 @@ in
}) })
// (lib.optionalAttrs (config.networking.hostName == "vno1-gdrx") { // (lib.optionalAttrs (config.networking.hostName == "vno1-gdrx") {
"${cfg.dataDir}/Books" = Books; "${cfg.dataDir}/Books" = Books;
"${cfg.dataDir}/Maildir" = Maildir;
"${cfg.dataDir}/M-Active" = M-Active; "${cfg.dataDir}/M-Active" = M-Active;
"${cfg.dataDir}/M-Camera" = M-Camera; "${cfg.dataDir}/M-Camera" = M-Camera;
"${cfg.dataDir}/M-Documents" = M-Documents; "${cfg.dataDir}/M-Documents" = M-Documents;