nixos-config/config/services/syncthing.nix

10 lines
249 B
Nix
Raw Normal View History

2022-06-12 15:42:42 +00:00
_: {
2022-05-06 09:54:54 +00:00
services.syncthing = {
enable = true;
2022-05-12 07:46:29 +00:00
guiAddress = "[::]:8384";
2022-05-06 09:54:54 +00:00
};
2022-06-12 15:39:15 +00:00
networking.firewall.interfaces."wg0".allowedTCPPorts = [8384];
networking.firewall.allowedTCPPorts = [22000];
networking.firewall.allowedUDPPorts = [22000];
2022-05-06 09:54:54 +00:00
}