forked from mirrors/nixpkgs
Deprecation warning for networking.extraHosts
This commit is contained in:
parent
d29fc731b3
commit
635ecd802f
|
@ -199,6 +199,9 @@ 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";
|
||||
|
|
Loading…
Reference in a new issue