From b772e3eca3686562f3d4bda85e2012644b139cef Mon Sep 17 00:00:00 2001 From: h7x4 Date: Fri, 20 Jan 2023 19:53:08 +0100 Subject: [PATCH] use resolved globally --- hosts/common.nix | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/hosts/common.nix b/hosts/common.nix index 8383bc2..8b9cdf7 100644 --- a/hosts/common.nix +++ b/hosts/common.nix @@ -129,14 +129,6 @@ in { text = extendedLib.termColors.front.red "Be careful or something, idk...\n"; }; - "resolv.conf".source = let - inherit (lib.strings) concatStringsSep; - inherit (pkgs) writeText; - in writeText "resolv.conf" '' - ${concatStringsSep "\n" (map (ns: "nameserver ${ns}") config.networking.nameservers)} - options edns0 - ''; - currentSystemPackages = { target = "current-system-packages"; text = let @@ -234,6 +226,8 @@ in { tumbler.enable = !config.machineVars.headless; gnome.gnome-keyring.enable = !config.machineVars.headless; + resolved.enable = true; + openssh = { # enable = true; passwordAuthentication = false;