diff --git a/nix/os/devices/srv0.home-ch.stefanjunker.de/system.nix b/nix/os/devices/srv0.home-ch.stefanjunker.de/system.nix index c5f54f4..7cb7fc1 100644 --- a/nix/os/devices/srv0.home-ch.stefanjunker.de/system.nix +++ b/nix/os/devices/srv0.home-ch.stefanjunker.de/system.nix @@ -54,7 +54,10 @@ in { automatic = true; }; - networking.useHostResolvConf = true; + networking.useHostResolvConf = false; + services.resolved = { + enable = true; + }; containers = { mailserver = import ../../containers/mailserver.nix { diff --git a/nix/os/profiles/containers/configuration.nix b/nix/os/profiles/containers/configuration.nix index 89a5fe4..3424066 100644 --- a/nix/os/profiles/containers/configuration.nix +++ b/nix/os/profiles/containers/configuration.nix @@ -3,6 +3,11 @@ { nixpkgs.overlays = builtins.attrValues (import ../../../overlays); + networking.useHostResolvConf = false; + services.resolved = { + enable = true; + }; + imports = [ ../../modules/ddclient-ovh.nix ];