1
0
nixfiles/hosts/storage-2/syncthing.nix

24 lines
498 B
Nix
Raw Permalink Normal View History

{ ... }:
{
services.syncthing = {
enable = true;
settings = {
devices = {
ceasium = { id = "3JVJ2KS-C44JKLL-LFIMCVJ-VUQK2VB-WKJNOGB-4AIJYJM-MINXEKG-T5FHQQE"; };
ev0 = { id = "XLZNAIG-Q5BJYXZ-IJWS3RD-EOETGFI-265U5MH-U4VBEXX-KC6MWPH-B22ROQT"; };
};
folders = {
mixcloud = {
path = "/data/mixcloud";
type = "sendonly";
devices = [
"ceasium"
"ev0"
];
};
};
};
};
}