Deprecation warning for networking.extraHosts
This commit is contained in:
parent
d29fc731b3
commit
635ecd802f
@ -199,6 +199,9 @@ in
|
|||||||
|
|
||||||
config = {
|
config = {
|
||||||
|
|
||||||
|
warnings = optional (cfg.extraHosts != "")
|
||||||
|
"networking.extraHosts is deprecated, please use networking.hosts instead";
|
||||||
|
|
||||||
environment.etc =
|
environment.etc =
|
||||||
{ # /etc/services: TCP/UDP port assignments.
|
{ # /etc/services: TCP/UDP port assignments.
|
||||||
"services".source = pkgs.iana-etc + "/etc/services";
|
"services".source = pkgs.iana-etc + "/etc/services";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user