nixos/services/syncthing/default.nix
Evie Litherland-Smith 320d76f972 Move server directory and syncthing into services directory
Separate service setup from traefik config for each, prep for future
server separation
2023-05-26 08:52:46 +01:00

15 lines
304 B
Nix

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