Add Zotero library to syncthing
This commit is contained in:
parent
7dee50295b
commit
79a65bbca1
|
@ -7,6 +7,7 @@
|
||||||
./devices/Northstar.nix
|
./devices/Northstar.nix
|
||||||
./devices/Vanguard.nix
|
./devices/Vanguard.nix
|
||||||
./folders/notes.nix
|
./folders/notes.nix
|
||||||
|
./folders/zotero.nix
|
||||||
];
|
];
|
||||||
services.syncthing = {
|
services.syncthing = {
|
||||||
user = "elitherl";
|
user = "elitherl";
|
||||||
|
@ -17,5 +18,9 @@
|
||||||
path = "~/notes";
|
path = "~/notes";
|
||||||
devices = ["ion" "legion" "monarch" "northstar" "vanguard"];
|
devices = ["ion" "legion" "monarch" "northstar" "vanguard"];
|
||||||
};
|
};
|
||||||
|
folders."Zotero" = {
|
||||||
|
path = "~/Documents/Zotero";
|
||||||
|
devices = ["legion"];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
./folders/notes.nix
|
./folders/notes.nix
|
||||||
./folders/pictures.nix
|
./folders/pictures.nix
|
||||||
./folders/xochitl.nix
|
./folders/xochitl.nix
|
||||||
|
./folders/zotero.nix
|
||||||
];
|
];
|
||||||
services.syncthing = {
|
services.syncthing = {
|
||||||
user = "xenia";
|
user = "xenia";
|
||||||
|
@ -33,6 +34,7 @@
|
||||||
"Notes".devices = ["H0615" "ion" "monarch" "northstar" "vanguard"];
|
"Notes".devices = ["H0615" "ion" "monarch" "northstar" "vanguard"];
|
||||||
"Pictures".devices = ["ion" "monarch" "northstar" "vanguard"];
|
"Pictures".devices = ["ion" "monarch" "northstar" "vanguard"];
|
||||||
"Xochitl".devices = ["remarkable"];
|
"Xochitl".devices = ["remarkable"];
|
||||||
|
"Zotero".devices = ["H0615"];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
9
services/syncthing/folders/zotero.nix
Normal file
9
services/syncthing/folders/zotero.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue