summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-01-09 09:11:56 +0530
committersinanmohd <sinan@sinanmohd.com>2024-01-09 09:11:56 +0530
commit0b23236de1e3a19a7f10c2904daa929b8c470094 (patch)
tree1b82c0c79250c7f25b89c74968f5c5ca5b3a349b
parent0d64141484738542b5d3bd6c8ba885d0ca804e56 (diff)
mox/network: drop dnsmasq
-rw-r--r--hosts/mox/modules/network.nix9
1 files changed, 1 insertions, 8 deletions
diff --git a/hosts/mox/modules/network.nix b/hosts/mox/modules/network.nix
index dde2e49..53367f8 100644
--- a/hosts/mox/modules/network.nix
+++ b/hosts/mox/modules/network.nix
@@ -2,7 +2,6 @@
let
wan = "ens18";
- dns = "10.0.0.2";
in
{
networking = {
@@ -14,12 +13,6 @@ in
address = "10.0.0.1";
interface = wan;
};
- };
-
- services = {
- dnsmasq = {
- enable = true;
- settings.server = [ dns ];
- };
+ nameservers = [ "10.0.0.2" "10.0.0.3" ];
};
}