router(*): add Julien's X2100 laptop to the wgadmin

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
This commit is contained in:
Raito Bezarius 2024-04-29 14:13:45 +02:00
parent dfeeb1c4ea
commit 3aa1369056

View file

@ -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" {