use resolved globally
This commit is contained in:
parent
e840a95ebe
commit
b772e3eca3
|
@ -129,14 +129,6 @@ in {
|
||||||
text = extendedLib.termColors.front.red "Be careful or something, idk...\n";
|
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 = {
|
currentSystemPackages = {
|
||||||
target = "current-system-packages";
|
target = "current-system-packages";
|
||||||
text = let
|
text = let
|
||||||
|
@ -234,6 +226,8 @@ in {
|
||||||
tumbler.enable = !config.machineVars.headless;
|
tumbler.enable = !config.machineVars.headless;
|
||||||
gnome.gnome-keyring.enable = !config.machineVars.headless;
|
gnome.gnome-keyring.enable = !config.machineVars.headless;
|
||||||
|
|
||||||
|
resolved.enable = true;
|
||||||
|
|
||||||
openssh = {
|
openssh = {
|
||||||
# enable = true;
|
# enable = true;
|
||||||
passwordAuthentication = false;
|
passwordAuthentication = false;
|
||||||
|
|
Loading…
Reference in New Issue