nixos/services/syncthing/default.nix

15 lines
304 B
Nix

{lib, ...}: {
imports = [./devices];
services.syncthing = {
enable = true;
systemService = true;
openDefaultPorts = true;
extraOptions = {
options = {
globalAnnounceEnabled = lib.mkDefault false;
localAnnounceEnabled = lib.mkDefault true;
};
};
};
}