Compare commits
2 commits
dfeeb1c4ea
...
c0fe0671a8
Author | SHA1 | Date | |
---|---|---|---|
|
c0fe0671a8 | ||
|
3aa1369056 |
2 changed files with 8 additions and 1 deletions
Binary file not shown.
|
@ -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" {
|
||||||
|
|
Loading…
Reference in a new issue