diff options
author | Ben Sima <ben@bsima.me> | 2022-01-06 14:23:54 -0500 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2022-01-06 14:23:54 -0500 |
commit | 0ef6c18ebd63e6c04dede2e8dbe2054589624f4e (patch) | |
tree | e5443fc49ecc018a0aabb71622bb3640911333f2 | |
parent | 354af91cdaded78f89d1879f229ff1fee4e96869 (diff) |
Start syncthing service
-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; |