use resolved globally

This commit is contained in:
Oystein Kristoffer Tveit 2023-01-20 19:53:08 +01:00
parent e840a95ebe
commit b772e3eca3
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146
1 changed files with 2 additions and 8 deletions

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;