infrastructure/nixos/syncthing-kat/syncthing.nix

14 lines
281 B
Nix

{config, ...}: {
services.syncthing = {
enable = true;
guiAddress = "0.0.0.0:8384";
openDefaultPorts = true;
dataDir = "/mnt/kyuuto-litterbox";
};
networking.firewall.interfaces = let
x.allowedTCPPorts = [8384];
in {
local = x;
tail = x;
};
}