nixos/syncthing/default.nix

15 lines
304 B
Nix
Raw Normal View History

2023-05-17 17:10:18 +01:00
{lib, ...}: {
imports = [./folders];
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
};
};
};
}