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

24 lines
524 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-05-24 11:46:40 +00:00
settings = {
devices = {
"LK-DATA" = {
id =
"BI7CMZF-2SGQMXW-RG47HRG-FEH454J-ZTCE544-BXNSCSJ-PXCE7A7-R4CX2Q3";
};
2023-02-21 13:52:38 +00:00
};
2023-05-24 11:46:40 +00:00
folders = {
"Bildvorschauen" = {
path = "/opt/service-data/http-images";
devices = [ "LK-DATA" ];
};
2023-02-21 13:52:38 +00:00
};
};
};
}