commit 74dac74251b0c984b70762636a392671cd1aaa78
parent 681333f365cde3e9a6aa3b26d8eb589f027f74a8
Author: Vincent Demeester <vincent@sbr.pm>
Date: Fri, 24 Sep 2021 17:40:47 +0200
systems: fix syncthing aomi addresses
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/systems/hosts/naruhodo.nix b/systems/hosts/naruhodo.nix
@@ -172,6 +172,7 @@ in
endpointPort = endpointPort;
endpointPublicKey = endpointPublicKey;
};
+ syncthing.guiAddress = "${ip}:8384";
};
systemd.services.buildkitd.wantedBy = lib.mkForce [ ];
systemd.services.containerd.wantedBy = lib.mkForce [ ];
diff --git a/systems/modules/profiles/syncthing.nix b/systems/modules/profiles/syncthing.nix
@@ -5,10 +5,9 @@ let
cfg = config.profiles.syncthing;
isCurrentHost = n: v: n != config.networking.hostName;
devices = {
- # TODO: Filter current devices from devices and folders.devices
aomi = {
id = "WAD7GYV-RXIL3V3-OT5PFZH-NRQHZWV-D3TGJVR-G4IANXZ-HTO5VT7-XE2WIQQ";
- address = [ "tcp://aomi.vpn" "tcp://aomi.home" ];
+ addresses = [ "tcp://aomi.vpn" "tcp://aomi.home" ];
};
naruhodo = {
id = "VTIA5EJ-X2BAMN6-LSBUFVJ-EZ35MTN-AOCEQEZ-HMY7CGV-STVVFTT-5U7SIAY";