From c2a28b3732d1a7d12793935f47568ea63691581d Mon Sep 17 00:00:00 2001 From: Yingchi Long Date: Mon, 25 Dec 2023 17:56:01 +0800 Subject: [PATCH] fixup! nixos/aplaz: add wireguard --- nixos/configurations/aplaz/wireguard.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/nixos/configurations/aplaz/wireguard.nix b/nixos/configurations/aplaz/wireguard.nix index 366bc00..944d826 100644 --- a/nixos/configurations/aplaz/wireguard.nix +++ b/nixos/configurations/aplaz/wireguard.nix @@ -23,7 +23,7 @@ { wireguardPeerConfig = { PublicKey = "CMb1V4DaIsYRY5dNxZSzQZD6Xnd5/DNyDPJoRtosfgs="; - AllowedIPs = [ "10.231.0.1 " ]; + AllowedIPs = [ "10.231.0.1" ]; Endpoint = "llvmws.lyc.dev:20125"; }; } @@ -38,9 +38,6 @@ "10.231.0.3/16" ]; DHCP = "no"; - gateway = [ - "10.231.0.1" - ]; networkConfig = { IPv6AcceptRA = false; };