mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
network-interfaces.target: add deprecation notice
This commit is contained in:
parent
072c1dcc4a
commit
85c36d1f7d
@ -932,8 +932,10 @@ in
|
||||
]
|
||||
++ bridgeStp;
|
||||
|
||||
# The network-interfaces target is kept for backwards compatibility.
|
||||
# New modules must NOT use it.
|
||||
systemd.targets."network-interfaces" =
|
||||
{ description = "All Network Interfaces";
|
||||
{ description = "All Network Interfaces (deprecated)";
|
||||
wantedBy = [ "network.target" ];
|
||||
before = [ "network.target" ];
|
||||
after = [ "network-pre.target" ];
|
||||
|
Loading…
Reference in New Issue
Block a user