Deprecation warning for networking.extraHosts
This commit is contained in:
parent
d29fc731b3
commit
635ecd802f
1 changed files with 3 additions and 0 deletions
|
@ -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