summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorAlexander Ried <ried@mytum.de>2016-05-31 15:30:31 +0200
committerAlexander Ried <ried@mytum.de>2016-09-05 15:03:35 +0200
commit992c514a20cf2da897db68169d7dcab721e8c7b7 (patch)
treec76ed2c443bb76707d32b1d6c0a6113f50ba1da1 /nixos
parent8604117b48f297a8891eeabb16dc5e3a6e4ae915 (diff)
downloadnixlib-992c514a20cf2da897db68169d7dcab721e8c7b7.tar
nixlib-992c514a20cf2da897db68169d7dcab721e8c7b7.tar.gz
nixlib-992c514a20cf2da897db68169d7dcab721e8c7b7.tar.bz2
nixlib-992c514a20cf2da897db68169d7dcab721e8c7b7.tar.lz
nixlib-992c514a20cf2da897db68169d7dcab721e8c7b7.tar.xz
nixlib-992c514a20cf2da897db68169d7dcab721e8c7b7.tar.zst
nixlib-992c514a20cf2da897db68169d7dcab721e8c7b7.zip
(network,remote-fs)-pre: remove duplicate wantedBy and before
this is part of (network,remote-fs).target, repectively
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/system/boot/systemd.nix10
1 files changed, 0 insertions, 10 deletions
diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix
index df72be1b4be5..72452c45e643 100644
--- a/nixos/modules/system/boot/systemd.nix
+++ b/nixos/modules/system/boot/systemd.nix
@@ -727,16 +727,6 @@ in
 
     systemd.targets.network-online.after = [ "ip-up.target" ];
 
-    systemd.targets.network-pre = {
-      wantedBy = [ "network.target" ];
-      before = [ "network.target" ];
-    };
-
-    systemd.targets.remote-fs-pre = {
-      wantedBy = [ "remote-fs.target" ];
-      before = [ "remote-fs.target" ];
-    };
-
     systemd.units =
       mapAttrs' (n: v: nameValuePair "${n}.target" (targetToUnit n v)) cfg.targets
       // mapAttrs' (n: v: nameValuePair "${n}.service" (serviceToUnit n v)) cfg.services