1
0
Fork 0
This commit is contained in:
Lukas Wurzinger 2025-03-23 22:48:46 +01:00
parent 616f310f4a
commit 1555d7b643
No known key found for this signature in database
51 changed files with 243 additions and 231 deletions

View file

@ -1,14 +1,15 @@
{lib, ...}: let
# TODO: unify syncthing.nix files
let
guiPort = 8384;
in {
services.syncthing = {
enable = true;
systemService = true;
openDefaultPorts = true;
guiAddress = lib.formatHostPort {
guiAddress = let
host = "0.0.0.0";
port = guiPort;
};
port = builtins.toString guiPort;
in "${host}:${port}";
};
networking.firewall.allowedTCPPorts = [guiPort];