From d3113be6932a15b1077441a14bccc09ef5635260 Mon Sep 17 00:00:00 2001 From: revol-xut Date: Wed, 15 Feb 2023 13:34:14 +0100 Subject: [PATCH] changing config for static ip --- hosts/quitte/network.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/hosts/quitte/network.nix b/hosts/quitte/network.nix index 3c8f25e..59494a9 100644 --- a/hosts/quitte/network.nix +++ b/hosts/quitte/network.nix @@ -22,7 +22,7 @@ in services.resolved = { enable = true; - dnssec = "false"; + #dnssec = "false"; fallbackDns = [ "1.1.1.1" ]; }; @@ -38,9 +38,14 @@ in # Interfaces on the machine networks."10-ether-bond" = { matchConfig.Name = "enp65s0f0np0"; + + address = [ "141.30.30.169/25" ]; + routes = [ + { + routeConfig.Gateway = "141.30.30.129"; + } + ]; networkConfig = { - Address = "141.30.30.169/25"; - Gateway = "141.30.30.129"; DNS = "141.30.1.1"; #IPv6AcceptRA = true; };