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";