about summary refs log tree commit diff
path: root/nixos/modules/tasks
diff options
context:
space:
mode:
authorNiko <97130632+Nyabinary@users.noreply.github.com>2023-12-20 11:53:35 -0500
committerMaciej Krüger <mkg20001@gmail.com>2024-01-12 17:29:03 +0100
commit9e2cd6f8728c79b6298f8005292fae9bec0bcf97 (patch)
tree9a90f9024672b0f141fda71c2d297ab8b3cb33d5 /nixos/modules/tasks
parent2a001a7fc92c6bfad3541aa27a798c4244ffeb9f (diff)
downloadnixlib-9e2cd6f8728c79b6298f8005292fae9bec0bcf97.tar
nixlib-9e2cd6f8728c79b6298f8005292fae9bec0bcf97.tar.gz
nixlib-9e2cd6f8728c79b6298f8005292fae9bec0bcf97.tar.bz2
nixlib-9e2cd6f8728c79b6298f8005292fae9bec0bcf97.tar.lz
nixlib-9e2cd6f8728c79b6298f8005292fae9bec0bcf97.tar.xz
nixlib-9e2cd6f8728c79b6298f8005292fae9bec0bcf97.tar.zst
nixlib-9e2cd6f8728c79b6298f8005292fae9bec0bcf97.zip
nixos/network-interfaces: remove network-interfaces.target
Co-authored-by: Martin Weinelt <mweinelt@users.noreply.github.com>
Diffstat (limited to 'nixos/modules/tasks')
-rw-r--r--nixos/modules/tasks/network-interfaces.nix10
1 files changed, 0 insertions, 10 deletions
diff --git a/nixos/modules/tasks/network-interfaces.nix b/nixos/modules/tasks/network-interfaces.nix
index 2b2d24a64cb2..ca0b219b3c93 100644
--- a/nixos/modules/tasks/network-interfaces.nix
+++ b/nixos/modules/tasks/network-interfaces.nix
@@ -1449,16 +1449,6 @@ in
       listToAttrs
     ];
 
-    # The network-interfaces target is kept for backwards compatibility.
-    # New modules must NOT use it.
-    systemd.targets.network-interfaces =
-      { description = "All Network Interfaces (deprecated)";
-        wantedBy = [ "network.target" ];
-        before = [ "network.target" ];
-        after = [ "network-pre.target" ];
-        unitConfig.X-StopOnReconfiguration = true;
-      };
-
     systemd.services = {
       network-local-commands = {
         description = "Extra networking commands.";