diff --git a/modules/system/containers.nix b/modules/system/containers.nix index 24cb0e3..ad5acdb 100644 --- a/modules/system/containers.nix +++ b/modules/system/containers.nix @@ -86,10 +86,13 @@ let services.openssh.hostKeys = [ ]; system.stateVersion = lib.mkDefault config.system.stateVersion; - networking.nameservers = lib.mkDefault [ - "1.1.1.1" - "1.0.0.1" - ]; + networking = lib.mkDefault { + useHostResolvConf = false; + nameservers = [ + "1.1.1.1" + "1.0.0.1" + ]; + }; }; bindMounts = {