nix-configurations/hosts/lkk-nix-1/services/syncthing.nix

21 lines
466 B
Nix
Raw Normal View History

2023-02-21 13:52:38 +00:00
{ config, pkgs, ... }: {
services.syncthing = {
enable = true;
openDefaultPorts = true;
guiAddress = "0.0.0.0:8384";
overrideDevices = true;
overrideFolders = true;
2023-06-01 09:23:52 +00:00
devices = {
"LK-DATA" = {
id = "BI7CMZF-2SGQMXW-RG47HRG-FEH454J-ZTCE544-BXNSCSJ-PXCE7A7-R4CX2Q3";
2023-02-21 13:52:38 +00:00
};
2023-06-01 09:23:52 +00:00
};
folders = {
"Bildvorschauen" = {
path = "/opt/service-data/http-images";
devices = [ "LK-DATA" ];
2023-02-21 13:52:38 +00:00
};
};
};
}