From f25339fd2d132d7e50ba37f6e28ae8e0ae1c17fb Mon Sep 17 00:00:00 2001 From: Florian Schmitt Date: Tue, 14 Jan 2025 17:46:43 +0300 Subject: [PATCH] feat(network): new wireguard access --- machines/dragon/hardware-configuration.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/machines/dragon/hardware-configuration.nix b/machines/dragon/hardware-configuration.nix index 7a01b46..f50b1b7 100644 --- a/machines/dragon/hardware-configuration.nix +++ b/machines/dragon/hardware-configuration.nix @@ -66,6 +66,28 @@ } ]; }; + wg34 = { + address = [ + "10.34.12.8/24" + ]; + dns = [ + "80.67.169.12" + "80.67.169.40" + # "89.234.152.131" #iloth + ]; + privateKeyFile = "/home/mrflos/Nextcloud/Apps/iloth.mrflos.wg-private.key"; + + peers = [ + { + publicKey = "n23gZzugKc68ax6J8LDZ3DG7ECwjXXDi/XTwas6RbAU="; + allowedIPs = [ + "10.34.0.0/16" + ]; + endpoint = "goelland-wan.distrilab.org:51777"; + persistentKeepalive = 25; + } + ]; + }; }; };