Skip to content

Commit a74c0c6

Browse files
regellosigkeitsaxiomglobin
authored andcommittedJul 31, 2017
Removed deprecation warning for networking.extraHosts
1 parent 701d2c8 commit a74c0c6

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed
 

‎nixos/modules/config/networking.nix

-3
Original file line numberDiff line numberDiff line change
@@ -199,9 +199,6 @@ in
199199

200200
config = {
201201

202-
warnings = optional (cfg.extraHosts != "")
203-
"networking.extraHosts is deprecated, please use networking.hosts instead";
204-
205202
environment.etc =
206203
{ # /etc/services: TCP/UDP port assignments.
207204
"services".source = pkgs.iana-etc + "/etc/services";

0 commit comments

Comments
 (0)
Please sign in to comment.