router(*): add Julien's X2100 laptop to the wgadmin
Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
This commit is contained in:
parent
dfeeb1c4ea
commit
3aa1369056
1 changed files with 8 additions and 1 deletions
|
@ -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" {
|
||||
|
|
Loading…
Reference in a new issue