2023-05-09 07:48:19 +01:00
|
|
|
{ lib, ... }:
|
2023-05-06 15:24:31 +01:00
|
|
|
{
|
2023-05-07 13:01:02 +01:00
|
|
|
imports = [ ./folders ];
|
2023-05-06 15:24:31 +01:00
|
|
|
services.syncthing = {
|
|
|
|
enable = true;
|
|
|
|
systemService = true;
|
|
|
|
openDefaultPorts = true;
|
2023-05-09 07:48:19 +01:00
|
|
|
extraOptions = {
|
|
|
|
options = {
|
|
|
|
globalAnnounceEnabled = lib.mkDefault false;
|
2023-05-09 13:52:52 +01:00
|
|
|
localAnnounceEnabled = lib.mkDefault true;
|
2023-05-09 07:48:19 +01:00
|
|
|
};
|
|
|
|
};
|
2023-05-06 15:24:31 +01:00
|
|
|
};
|
|
|
|
}
|