From 786be28eeb4e9806a59deb343497515814ff9275 Mon Sep 17 00:00:00 2001 From: xqtc161 Date: Sun, 9 Jun 2024 21:04:13 +0200 Subject: [PATCH] beleth: this commit will change everything HUGE THINGS COMING PART 3. COMING TO A CINEMA NEAR YOU --- hosts/x86_64-linux/beleth/wireguard.nix | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/hosts/x86_64-linux/beleth/wireguard.nix b/hosts/x86_64-linux/beleth/wireguard.nix index beac85b..f73f4d0 100644 --- a/hosts/x86_64-linux/beleth/wireguard.nix +++ b/hosts/x86_64-linux/beleth/wireguard.nix @@ -12,19 +12,21 @@ }; networking.wireguard.interfaces = { - ips = ["2a01:4f8:10a:1aab::2/64"]; + wg0 = { + ips = ["2a01:4f8:10a:1aab::2/64"]; - listenPort = 51820; + listenPort = 51820; - privateKeyFile = "/home/xqtc/wireguard-keys/private"; + privateKeyFile = "/home/xqtc/wireguard-keys/private"; - peers = [ - { - #anner - publicKey = "5ar4lh3Ra4TRmUJeeBtPgDvZnAkGssJDUN53y9oa3So="; - allowedIPs = ["2a0f:be01::/48"]; - endpoint = "[2a0f:be01::1]:51822"; - } - ]; + peers = [ + { + #anner + publicKey = "5ar4lh3Ra4TRmUJeeBtPgDvZnAkGssJDUN53y9oa3So="; + allowedIPs = ["2a0f:be01::/48"]; + endpoint = "[2a0f:be01::1]:51822"; + } + ]; + }; }; }