From e3d3d9faa8ede6391cede136d82332579f4bfc0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laure=CE=B7t?= Date: Wed, 26 Apr 2023 20:07:25 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9A=A1=EF=B8=8F=20route=20all=20traffic=20th?= =?UTF-8?q?rough=20wireguard?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hosts/neodymium/configuration.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hosts/neodymium/configuration.nix b/hosts/neodymium/configuration.nix index 8e53a36..5529ae0 100644 --- a/hosts/neodymium/configuration.nix +++ b/hosts/neodymium/configuration.nix @@ -16,11 +16,11 @@ networking.wg-quick.interfaces = { wg0 = { privateKeyFile = "/root/wireguard-keys/private"; - address = [ "10.0.0.3/32" ]; + address = [ "10.0.0.3/24" ]; dns = [ "10.0.0.1" ]; peers = [{ publicKey = "y36/EpLUerwM6NSGsVDCkb37Wj/Z3CI0mPFGatVa0Ws="; - allowedIPs = [ "10.0.0.1/24" ]; + allowedIPs = [ "0.0.0.0/0" "::0/0" ]; endpoint = "fainsin.bzh:5553"; persistentKeepalive = 30; }]; @@ -89,6 +89,8 @@ services.tlp.enable = true; + # programs.regreet = { enable = true; }; + # internationalisation time.timeZone = "Europe/Paris"; i18n.defaultLocale = "en_DK.UTF-8";