From fb8dc517881b1207f4d0f1f45b4c6692626654f5 Mon Sep 17 00:00:00 2001 From: Grigory Shipunov Date: Mon, 25 Jul 2022 20:30:41 +0200 Subject: [PATCH] production changes --- hosts/cirrus/configuration.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/hosts/cirrus/configuration.nix b/hosts/cirrus/configuration.nix index a8077dc..56996f7 100644 --- a/hosts/cirrus/configuration.nix +++ b/hosts/cirrus/configuration.nix @@ -23,9 +23,17 @@ matchConfig = { Name = "enp1s0"; }; networkConfig = { Address = "95.216.166.21/32"; - Gateway = "172.31.1.1"; DNS = "1.1.1.1"; }; + routes = [ + { + routeConfig = { + Gateway = "172.31.1.1"; + GatewayOnLink = true; + Destination = "0.0.0.0/0"; + }; + } + ]; }; };