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, ... }: { config, lib, ... }:
let let
inherit (lib) inherit (lib)
mkIf mkEnableOption mkOption types; mkIf mkEnableOption mkOption types;
cfg = config.krz-router; cfg = config.krz-router;
mkVLAN = name: id: { mkVLAN = name: id: {
netdevConfig = { netdevConfig = {
@ -91,6 +91,13 @@ in
AllowedIPs = [ "fd81:fb3a:50cc::100/128" ]; 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" { "10-tun-mwan" = mkTunnel "gre" "gre-mwan" {