From 3281971b2067f41fd42761bf3db0563418909a43 Mon Sep 17 00:00:00 2001
From: Julien Malka <julien@malka.sh>
Date: Wed, 4 Sep 2024 17:53:50 +0200
Subject: [PATCH] chore: remove tunnel on lisa

---
 machines/lisa/default.nix | 39 ---------------------------------------
 1 file changed, 39 deletions(-)

diff --git a/machines/lisa/default.nix b/machines/lisa/default.nix
index 7e63c94..27c0114 100644
--- a/machines/lisa/default.nix
+++ b/machines/lisa/default.nix
@@ -59,47 +59,8 @@
         networkConfig.DHCP = "yes";
         linkConfig.RequiredForOnline = "routable";
       };
-      "30-wg0" = {
-        matchConfig.Name = "wg0";
-        address = [
-          "10.100.45.1/24"
-          "fc00::1/64"
-        ];
-        networkConfig = {
-          IPMasquerade = "ipv4";
-          IPForward = true;
-        };
-      };
     };
 
-    netdevs = {
-      "10-wg0" = {
-        netdevConfig = {
-          Kind = "wireguard";
-          Name = "wg0";
-          MTUBytes = "1300";
-        };
-        wireguardConfig = {
-          PrivateKeyFile = "/srv/wg-private";
-          ListenPort = 51821;
-        };
-        wireguardPeers = [
-          {
-            wireguardPeerConfig = {
-              PublicKey = "axigTezuClSoQlxWvpdzXKXUDjrrQlswE50ox0uDLR0=";
-              AllowedIPs = [ "10.100.45.2/32" ];
-            };
-          }
-          {
-            wireguardPeerConfig = {
-              PublicKey = "ElVrxNiYvV13hEDtqZNw4kLF7UiPTXziz8XgqABB0AU=";
-              AllowedIPs = [ "10.100.45.3/32" ];
-            };
-          }
-
-        ];
-      };
-    };
   };
 
   services.openssh.extraConfig = ''