From 3aa13690565646e816e029e54c329b30160833ea Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Mon, 29 Apr 2024 14:13:45 +0200 Subject: [PATCH] router(*): add Julien's X2100 laptop to the wgadmin Signed-off-by: Raito Bezarius --- modules/krz-router.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/modules/krz-router.nix b/modules/krz-router.nix index 2efb72e..afcb959 100644 --- a/modules/krz-router.nix +++ b/modules/krz-router.nix @@ -1,7 +1,7 @@ { config, lib, ... }: let inherit (lib) - mkIf mkEnableOption mkOption types; + mkIf mkEnableOption mkOption types; cfg = config.krz-router; mkVLAN = name: id: { netdevConfig = { @@ -91,6 +91,13 @@ in AllowedIPs = [ "fd81:fb3a:50cc::100/128" ]; }; } + { + # Julien Malka, laptop X2100 + wireguardPeerConfig = { + PublicKey = "P6yIXwpUtX5WABxN5wZdxjqXyb/9kDwJqhj8VGGtAW4="; + AllowedIPs = [ "fd81:fb3a:50cc::200/128" ]; + }; + } ]; }; "10-tun-mwan" = mkTunnel "gre" "gre-mwan" {