From 469d13372eb32de6666745d3517d2f4461b6ec25 Mon Sep 17 00:00:00 2001 From: Giulio De Pasquale Date: Tue, 21 Mar 2023 16:35:13 +0100 Subject: [PATCH] architect: Added additional FraMecca devices --- hosts/architect/network.nix | 9 ++++++++- hosts/architect/wireguard.nix | 18 ++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/hosts/architect/network.nix b/hosts/architect/network.nix index 8d1bba0..06db4ff 100644 --- a/hosts/architect/network.nix +++ b/hosts/architect/network.nix @@ -45,12 +45,19 @@ rec { kclvm-wg = "10.3.0.34"; framecca-wg = "10.3.0.35"; + framecca_one-wg = "10.3.0.36"; + framecca_two-wg = "10.3.0.37"; + framecca_three-wg = "10.3.0.38"; + framecca_four-wg = "10.3.0.39"; + giuliophone-ts = "100.68.68.46"; architect-ts = "100.67.205.28"; giuliopc-ts = "100.124.78.64"; dodino-ts = "100.106.244.35"; + framecca-devices = [ framecca-wg framecca_one-wg framecca_three-wg framecca_four-wg ]; + # groups gdevices = [ giuliophone-ts architect-ts giuliopc-ts dodino-ts ]; - towan-wg = [ shield-wg parina-wg parina-ipad-wg germano-wg framecca-wg ]; + towan-wg = [ shield-wg parina-wg parina-ipad-wg germano-wg ] ++ framecca-devices; } diff --git a/hosts/architect/wireguard.nix b/hosts/architect/wireguard.nix index a2b884b..9614a64 100644 --- a/hosts/architect/wireguard.nix +++ b/hosts/architect/wireguard.nix @@ -187,6 +187,24 @@ in allowedIPs = [ framecca-wg ]; publicKey = "w0XPu5GcDA2vpNk3KCFRdWNVVQHRtAPApEsK1h3Ovyk="; } + + { + allowedIPs = [ framecca_one-wg ]; + publicKey = "5PnmExv78fU3SS8liUWY/oBCcJ48wzmz/70O0U7K/xs="; + } + + { + allowedIPs = [ framecca_two-wg ]; + publicKey = "FbWfh2rL3OYLTDIte+MgctqL/bphn38eqpNy/chc3wM="; + } + { + allowedIPs = [ framecca_three-wg ]; + publicKey = "Z3LRFs6CO0kUh4J3pf+HcPsWch3hUAwJBG8/b0Kqnxs="; + } + { + allowedIPs = [ framecca_four-wg ]; + publicKey = "g/Ta12igzxSlCxy7KP865qf+l3+r1LjOo6UXjulmPBc="; + } ]; }; };