summary refs log tree commit diff
path: root/nixos/modules/tasks/network-interfaces-scripted.nix
diff options
context:
space:
mode:
authorWilliam A. Kennington III <william@wkennington.com>2014-11-26 11:19:31 -0800
committerWilliam A. Kennington III <william@wkennington.com>2014-11-26 16:29:24 -0800
commit1860ee27b0e4aae2cc0ed997e14b0d3289ce498f (patch)
tree09c605f6540a30bd074b74ea94760f1736c55f75 /nixos/modules/tasks/network-interfaces-scripted.nix
parent4f2a041345445dc4727b3d56e7458552517e6cd5 (diff)
downloadnixlib-1860ee27b0e4aae2cc0ed997e14b0d3289ce498f.tar
nixlib-1860ee27b0e4aae2cc0ed997e14b0d3289ce498f.tar.gz
nixlib-1860ee27b0e4aae2cc0ed997e14b0d3289ce498f.tar.bz2
nixlib-1860ee27b0e4aae2cc0ed997e14b0d3289ce498f.tar.lz
nixlib-1860ee27b0e4aae2cc0ed997e14b0d3289ce498f.tar.xz
nixlib-1860ee27b0e4aae2cc0ed997e14b0d3289ce498f.tar.zst
nixlib-1860ee27b0e4aae2cc0ed997e14b0d3289ce498f.zip
nixos/networking: Fixes
Diffstat (limited to 'nixos/modules/tasks/network-interfaces-scripted.nix')
-rw-r--r--nixos/modules/tasks/network-interfaces-scripted.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/tasks/network-interfaces-scripted.nix b/nixos/modules/tasks/network-interfaces-scripted.nix
index 1ca629c186ca..85bc697b0f4a 100644
--- a/nixos/modules/tasks/network-interfaces-scripted.nix
+++ b/nixos/modules/tasks/network-interfaces-scripted.nix
@@ -114,6 +114,7 @@ in
             after = [ (subsystemDevice i.name) ];
             serviceConfig.Type = "oneshot";
             serviceConfig.RemainAfterExit = true;
+            path = [ pkgs.iproute ];
             script =
               ''
                 echo "bringing up interface..."
@@ -142,7 +143,6 @@ in
                     ${config.systemd.package}/bin/systemctl try-restart --no-block network-setup.service
                   fi
                   ${config.systemd.package}/bin/systemctl start ip-up.target
-                  ${config.systemd.package}/bin/systemctl start network-online.target
                 '';
             preStop =
               ''