From 0e7512498f4e46c4b55994b4dd9548cd8d22a9db Mon Sep 17 00:00:00 2001 From: Baitinq Date: Sun, 16 Oct 2022 17:39:42 +0200 Subject: Modules/Secrets: Wiregurad: Change peer settings --- hosts/configuration.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'hosts') diff --git a/hosts/configuration.nix b/hosts/configuration.nix index fba0f28..0b59af3 100644 --- a/hosts/configuration.nix +++ b/hosts/configuration.nix @@ -40,11 +40,9 @@ hostName = hostname; # Define your hostname. enableIPv6 = true; extraHosts = builtins.readFile "${dotfiles}/hosts"; - dhcpcd = { - enable = true; - extraConfig = "nohook resolv.conf"; - }; - resolvconf.enable = false; + dhcpcd.enable = true; + resolvconf.enable = true; + nameservers = [ "127.0.0.1" ]; firewall = { enable = true; allowedTCPPorts = [ 80 22 9090 ]; -- cgit 1.4.1