Add Zotero library to syncthing

This commit is contained in:
Evie Litherland-Smith 2023-06-09 14:00:32 +01:00
parent 7dee50295b
commit 79a65bbca1
3 changed files with 16 additions and 0 deletions

View file

@ -7,6 +7,7 @@
./devices/Northstar.nix
./devices/Vanguard.nix
./folders/notes.nix
./folders/zotero.nix
];
services.syncthing = {
user = "elitherl";
@ -17,5 +18,9 @@
path = "~/notes";
devices = ["ion" "legion" "monarch" "northstar" "vanguard"];
};
folders."Zotero" = {
path = "~/Documents/Zotero";
devices = ["legion"];
};
};
}

View file

@ -17,6 +17,7 @@
./folders/notes.nix
./folders/pictures.nix
./folders/xochitl.nix
./folders/zotero.nix
];
services.syncthing = {
user = "xenia";
@ -33,6 +34,7 @@
"Notes".devices = ["H0615" "ion" "monarch" "northstar" "vanguard"];
"Pictures".devices = ["ion" "monarch" "northstar" "vanguard"];
"Xochitl".devices = ["remarkable"];
"Zotero".devices = ["H0615"];
};
};
}

View file

@ -0,0 +1,9 @@
{lib, ...}: {
services.syncthing.folders."Zotero" = {
label = "Zotero";
path = lib.mkDefault "/var/lib/syncthing/Zotero/";
id = "huyvn-liwc9";
ignorePerms = true;
enable = true;
};
}