use resolved globally

This commit is contained in:
2023-01-20 19:53:08 +01:00
parent e840a95ebe
commit b772e3eca3

View File

@@ -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;