Commit 21acb4ca1714

Vincent Demeester <vincent@sbr.pm>
2019-12-05 16:22:04
machines: update syncthing guiAddress
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent d5f9c20
machine/carthage.nix
@@ -45,7 +45,7 @@ with import ../assets/machines.nix; {
     };
     openssh.ports = [ ssh.carthage.port ];
     openssh.permitRootLogin = "without-password";
-    syncthing.guiAddress = "${wireguard.ips.carthage}:8384";
+    syncthing.guiAddress = "127.0.0.1:8384";
     wireguard = {
       enable = true;
       ips = [ "${wireguard.ips.carthage}/24" ];
machine/hokkaido.nix
@@ -25,7 +25,7 @@ with import ../assets/machines.nix; {
     logind = {
       lidSwitch = "ignore";
     };
-    syncthing.guiAddress = "${wireguard.ips.hokkaido}:8384";
+    syncthing.guiAddress = "0.0.0.0:8384";
     wireguard = {
       enable = true;
       ips = [ "${wireguard.ips.hokkaido}/24" ];
machine/honshu.nix
@@ -23,7 +23,7 @@ with import ../assets/machines.nix; {
   };
   services = {
     logind.lidSwitch = "ignore";
-    syncthing.guiAddress = "${wireguard.ips.honshu}:8384";
+    syncthing.guiAddress = "0.0.0.0:8384";
     wireguard = {
       enable = true;
       ips = [ "${wireguard.ips.honshu}/24" ];
machine/kerkouane.nix
@@ -19,7 +19,7 @@ with import ../assets/machines.nix; {
   services = {
     openssh.ports = [ ssh.kerkouane.port ];
     openssh.permitRootLogin = "without-password";
-    syncthing.guiAddress = "${wireguard.ips.kerkouane}:8384";
+    syncthing.guiAddress = "127.0.0.1:8384";
   };
   users.users.root.openssh.authorizedKeys.keys = [
     "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGR4dqXwHwPpYgyk6yl9+9LRL3qrBZp3ZWdyKaTiXp0p vincent@shikoku"
machine/okinawa.nix
@@ -61,7 +61,7 @@ with import ../assets/machines.nix; {
       domain = "nix.cache.home";
       aliases = ["cache.massimo.home" "nix.okinawa.home"];
     };
-    syncthing.guiAddress = "${wireguard.ips.okinawa}:8384";
+    syncthing.guiAddress = "0.0.0.0:8384";
     tarsnap = {
       enable = true;
       archives = {
machine/sakhalin.nix
@@ -56,7 +56,7 @@ with import ../assets/machines.nix; {
         }
       ];
     };
-    syncthing.guiAddress = "${wireguard.ips.sakhalin}:8384";
+    syncthing.guiAddress = "0.0.0.0:8384";
     wireguard = {
       enable = true;
       ips = [ "${wireguard.ips.sakhalin}/24" ];
machine/wakasu.nix
@@ -64,7 +64,8 @@ with import ../assets/machines.nix; {
       HandleLidSwitchExternalPower=ignore
       HandleLidSwitchDocked=ignore
     '';
-    syncthing.guiAddress = "${wireguard.ips.wakasu}:8384";
+    #syncthing.guiAddress = "${wireguard.ips.wakasu}:8384";
+    syncthing.guiAddress = "0.0.0.0:8384";
     smartd = {
       enable = true;
       devices = [ { device = "/dev/nvme0n1"; } ];