hosts/storage-2: make music availiable via syncthing
This commit is contained in:
parent
7d04db9809
commit
403a58d266
@ -9,6 +9,7 @@
|
||||
./mixcloud.nix
|
||||
./share.nix
|
||||
./storage.nix
|
||||
./syncthing.nix
|
||||
];
|
||||
|
||||
boot.loader.grub.enable = true;
|
||||
|
21
hosts/storage-2/syncthing.nix
Normal file
21
hosts/storage-2/syncthing.nix
Normal 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"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user