From a2a7b7458fe3fbeb5f81f26d2d7994eb313197ce Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Thu, 4 Mar 2021 15:54:41 +0800 Subject: [PATCH] nixbld: route ext wifi network --- nixbld-etc-nixos/configuration.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/nixbld-etc-nixos/configuration.nix b/nixbld-etc-nixos/configuration.nix index 4e49e31..5d6c42b 100644 --- a/nixbld-etc-nixos/configuration.nix +++ b/nixbld-etc-nixos/configuration.nix @@ -55,6 +55,16 @@ in address = "2001:470:f821:1::"; prefixLength = 64; }]; + ipv4.routes = [{ + address = "192.168.13.0"; + prefixLength = 24; + via = "192.168.1.205"; + }]; + ipv6.routes = [{ + address = "2001:470:f821:3::"; + prefixLength = 64; + via = "2001:470:f821:1:dea6:32ff:fe95:2fcf"; + }]; }; interfaces."${netifWifi}" = { ipv4.addresses = [{