mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
14 lines
281 B
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;
|
|
};
|
|
}
|