From 8a901c24b029719cc8d3ff355f95bceb1dc93b60 Mon Sep 17 00:00:00 2001 From: Mel Date: Wed, 27 Aug 2025 13:14:42 +0200 Subject: Move WireGuard server peer definitions to configuration option Signed-off-by: Mel --- machines/taupe/default.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'machines/taupe') diff --git a/machines/taupe/default.nix b/machines/taupe/default.nix index 643c939..ef3fc6a 100644 --- a/machines/taupe/default.nix +++ b/machines/taupe/default.nix @@ -26,6 +26,23 @@ wireguard.server = { enable = true; externalInterface = "enp1s0"; + + peers = { + mel = { + key = "vnZoHXapCLLUhZ8A8R5W0iJ8LpWVLve29z41kkoT0BU="; + ip = 2; + }; + + andrei = { + key = "qqU4uYImLfUohIwl4KBshPtTINFcs0JVALjbmwpfxRg="; + ip = 3; + }; + + sergo = { + key = "qbZGMNIDZFCJC6SHtlyNIlIdGWHELceXClJCcagrj2Y="; + ip = 4; + }; + }; }; }; -- cgit 1.4.1