From c0a929362c8ce1b15ad7c1c269672441fad45775 Mon Sep 17 00:00:00 2001 From: Nickiel12 Date: Fri, 31 Mar 2023 18:12:19 -0700 Subject: [PATCH] Added DNS server configuration --- hosts/Alaska/dnsmasq.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 hosts/Alaska/dnsmasq.nix diff --git a/hosts/Alaska/dnsmasq.nix b/hosts/Alaska/dnsmasq.nix new file mode 100644 index 0000000..e7b68de --- /dev/null +++ b/hosts/Alaska/dnsmasq.nix @@ -0,0 +1,15 @@ +{ config, lib, pkgs, ... }: + +{ + services.dnsmasq = { + enable = true; + servers = [ + "1.1.1.1" + "1.0.0.1" + "8.8.8.8" + ]; + }; + networking.extraHosts = '' + 10.0.0.114 NicksDesktop + ''; +}