From dea4242b99616dd52c76adbc7ae61a5bc1d35932 Mon Sep 17 00:00:00 2001 From: coolneng Date: Tue, 12 Jul 2022 19:52:12 +0200 Subject: [PATCH] Change network subnet --- modules/networking.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/networking.nix b/modules/networking.nix index d2a775f..24448ca 100644 --- a/modules/networking.nix +++ b/modules/networking.nix @@ -10,12 +10,12 @@ in { interfaces.eth0 = { useDHCP = false; ipv4.addresses = [{ - address = "192.168.1.2"; + address = "192.168.13.2"; prefixLength = 24; }]; }; defaultGateway = { - address = "192.168.1.1"; + address = "192.168.13.1"; interface = "eth0"; }; nameservers = [ "51.158.108.203" "195.10.195.195" ]; @@ -98,7 +98,7 @@ in { bogus-priv no-resolv - listen-address=127.0.0.1,192.168.1.2,10.8.0.1 + listen-address=127.0.0.1,192.168.13.2,10.8.0.1 bind-interfaces cache-size=10000 @@ -106,7 +106,7 @@ in { conf-file=/var/lib/dnsmasq/dnsmasq.blacklist.txt - address=/coolneng.duckdns.org/192.168.1.2 + address=/coolneng.duckdns.org/192.168.13.2 ''; };