From db95d142d42f97891db9aecd61625886c84e18a4 Mon Sep 17 00:00:00 2001 From: coolneng Date: Thu, 30 Jan 2020 13:23:23 +0100 Subject: [PATCH] Update Syncthing IDs and add roamer to Wireguard --- modules/datasync.nix | 4 ++-- modules/networking.nix | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/datasync.nix b/modules/datasync.nix index 18d3023..696238e 100644 --- a/modules/datasync.nix +++ b/modules/datasync.nix @@ -15,8 +15,8 @@ dataDir = "/vault/syncthing"; declarative = { devices = { - monolith = { id = "QGDGEZQ-INE7XDY-DNX2QI4-QI7ANQJ-57REEO2-FUMH545-FZS5RYU-ULF7HA2"; }; - roamer = { id = "DS3PJH3-J6SNMHM-XUJTDLO-DHGJL5U-J3RUMAG-4OSJWIK-VSJSDVJ-PIHZ2QP"; }; + monolith = { id = "64P2YDH-S5V7PKM-XXBOSXC-WEXUSC7-B553ELI-6IJ3CPJ-ZFB3YA5-MTKAFAH"; }; + roamer = { id = "XE6YPFU-TB7ARWF-7NDSJ35-2PBNNDS-VTXGGCH-KC2UBLE-UHWAXH3-MWD26A5"; }; unit = { id = "VYHHL4A-KJ6WUYQ-4SNWNA3-YRCFTHE-52ZTRLP-4LV6ZDV-4VAJLHC-RJXYYQY"; }; }; folders = { diff --git a/modules/networking.nix b/modules/networking.nix index 65f1cce..f8e4686 100644 --- a/modules/networking.nix +++ b/modules/networking.nix @@ -72,10 +72,10 @@ allowedIPs = [ "10.8.0.2/32" ]; } # Roamer - #{ - #publicKey = "{john doe's public key}"; - #allowedIPs = [ "10.8.0.3/32" ]; - #} + { + publicKey = "gS5VIUFL74kTs3zxVNT/ijWyOjeAFLEqWynD0Pefh1o="; + allowedIPs = [ "10.8.0.3/32" ]; + } ]; }; };