summaryrefslogtreecommitdiff
path: root/modules/yggdrasil-wg/default.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2021-12-16 10:45:40 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2021-12-16 10:45:40 +0100
commit18f1745a8cec56b92f9376dc0fb1ceb51f164164 (patch)
tree71b1f32f5fb4428449f14ba57442350896cc3975 /modules/yggdrasil-wg/default.nix
parent560f5194be17c7dbf21ac67c71d42f1a9c4d96ef (diff)
downloadnixos-18f1745a8cec56b92f9376dc0fb1ceb51f164164.tar
nixos-18f1745a8cec56b92f9376dc0fb1ceb51f164164.tar.gz
nixos-18f1745a8cec56b92f9376dc0fb1ceb51f164164.tar.bz2
nixos-18f1745a8cec56b92f9376dc0fb1ceb51f164164.tar.xz
nixos-18f1745a8cec56b92f9376dc0fb1ceb51f164164.zip
yggdrasil-wg: ...
Diffstat (limited to 'modules/yggdrasil-wg/default.nix')
-rw-r--r--modules/yggdrasil-wg/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/yggdrasil-wg/default.nix b/modules/yggdrasil-wg/default.nix
index a22a27ec..9ab33fa1 100644
--- a/modules/yggdrasil-wg/default.nix
+++ b/modules/yggdrasil-wg/default.nix
@@ -201,6 +201,10 @@ in {
201 routes = [ 201 routes = [
202 { routeConfig = { 202 { routeConfig = {
203 Destination = "${batSubnet}::/${toString batSubnetLength}"; 203 Destination = "${batSubnet}::/${toString batSubnetLength}";
204 };
205 }
206 { routeConfig = {
207 Destination = "${batSubnet}::/${toString batSubnetLength}";
204 Table = "yggdrasil"; 208 Table = "yggdrasil";
205 }; 209 };
206 } 210 }