1
0

hosts/storage-2: make music availiable via syncthing

This commit is contained in:
clerie 2023-02-18 10:58:43 +01:00
parent 7d04db9809
commit 403a58d266
2 changed files with 22 additions and 0 deletions

View File

@ -9,6 +9,7 @@
./mixcloud.nix
./share.nix
./storage.nix
./syncthing.nix
];
boot.loader.grub.enable = true;

View File

@ -0,0 +1,21 @@
{ ... }:
{
services.syncthing = {
enable = true;
devices = {
ceasium = {
id = "3JVJ2KS-C44JKLL-LFIMCVJ-VUQK2VB-WKJNOGB-4AIJYJM-MINXEKG-T5FHQQE";
};
};
folders = {
mixcloud = {
path = "/data/mixcloud";
type = "sendonly";
devices = [
"ceasium"
];
};
};
};
}