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