From a74c0c66526d824844ef45e5655415abe397f04f Mon Sep 17 00:00:00 2001 From: Valentin Shirokov Date: Mon, 31 Jul 2017 15:28:10 +0800 Subject: Removed deprecation warning for networking.extraHosts --- nixos/modules/config/networking.nix | 3 --- 1 file changed, 3 deletions(-) (limited to 'nixos/modules/config/networking.nix') diff --git a/nixos/modules/config/networking.nix b/nixos/modules/config/networking.nix index 616f76f6f47c..b3639037914b 100644 --- a/nixos/modules/config/networking.nix +++ b/nixos/modules/config/networking.nix @@ -199,9 +199,6 @@ in config = { - warnings = optional (cfg.extraHosts != "") - "networking.extraHosts is deprecated, please use networking.hosts instead"; - environment.etc = { # /etc/services: TCP/UDP port assignments. "services".source = pkgs.iana-etc + "/etc/services"; -- cgit 1.4.1