diff options
-rw-r--r-- | Biz/Cloud/Ports.nix | 1 | ||||
-rw-r--r-- | Biz/Dev/Configuration.nix | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/Biz/Cloud/Ports.nix b/Biz/Cloud/Ports.nix index 4ba5d7e..3ae8e3b 100644 --- a/Biz/Cloud/Ports.nix +++ b/Biz/Cloud/Ports.nix @@ -20,6 +20,7 @@ radicale = 5232; sabten = 8080; ssh = 22; + syncthing-gui = 8384; tor = 144; torrents = { from = 3000; to = 3099; }; wireguard = 51820; diff --git a/Biz/Dev/Configuration.nix b/Biz/Dev/Configuration.nix index a365d76..372d4c8 100644 --- a/Biz/Dev/Configuration.nix +++ b/Biz/Dev/Configuration.nix @@ -69,6 +69,11 @@ in { services.k3s.enable = true; services.k3s.role = "server"; + services.syncthing.enable = true; + services.syncthing.guiAddress = "127.0.0.1:${toString ports.syncthing-gui}"; + services.syncthing.openDefaultPorts = true; + services.syncthing.systemService = true; + services.tor.enable = true; services.tor.client.enable = true; services.tor.settings.enable = true; |