From 2639192a92aec1ac99e8fe31c54f1987b159ad3b Mon Sep 17 00:00:00 2001 From: Florian Agbuya Date: Wed, 17 Jan 2024 10:33:29 +0800 Subject: [PATCH] replace nameserver --- network.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/network.patch b/network.patch index 5fd8ac5..0a7f087 100644 --- a/network.patch +++ b/network.patch @@ -1,3 +1,16 @@ +diff --git a/base.nix b/base.nix +index 7eaee32..be5a47c 100644 +--- a/base.nix ++++ b/base.nix +@@ -95,7 +95,7 @@ with lib; + ''; + bashrc.text = "export PATH=/run/current-system/sw/bin"; + profile.text = "export PATH=/run/current-system/sw/bin"; +- "resolv.conf".text = "nameserver 10.0.2.3"; ++ "resolv.conf".text = "nameserver 192.168.1.1"; + passwd.text = '' + root:x:0:0:System administrator:/root:/run/current-system/sw/bin/bash + sshd:x:498:65534:SSH privilege separation user:/var/empty:/run/current-system/sw/bin/nologin diff --git a/configuration.nix b/configuration.nix index 010c487..37f6aaa 100644 --- a/configuration.nix -- 2.47.0