nixos/syncthing/default.nix
Evie Litherland-Smith ca40907095 Update syncthing expressions for new API
extraOptions -> settings
devices -> settings.devices
folders -> settings.folders
2023-05-19 12:00:01 +01:00

15 lines
300 B
Nix

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