From fdab6626598273be15da40a7af77ad75b9e52a0a Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 29 Sep 2009 15:43:52 +0000 Subject: [PATCH] * Add iproute to the system path. It was a dependency of dhclient already anyway. svn path=/nixos/trunk/; revision=17512 --- modules/config/system-path.nix | 4 ---- modules/tasks/network-interfaces.nix | 9 +++++++++ 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/modules/config/system-path.nix b/modules/config/system-path.nix index 91a88656bf82..c2605d0963e1 100644 --- a/modules/config/system-path.nix +++ b/modules/config/system-path.nix @@ -29,8 +29,6 @@ let pkgs.gnused pkgs.gnutar pkgs.gzip - pkgs.host - pkgs.iputils pkgs.less pkgs.libcap pkgs.lvm2 @@ -40,7 +38,6 @@ let pkgs.nano pkgs.ncurses pkgs.netcat - pkgs.nettools pkgs.ntp pkgs.openssh pkgs.pciutils @@ -59,7 +56,6 @@ let pkgs.upstart pkgs.usbutils pkgs.utillinux - pkgs.wirelesstools ]; diff --git a/modules/tasks/network-interfaces.nix b/modules/tasks/network-interfaces.nix index d2e01370668a..6c77a40ae5d1 100644 --- a/modules/tasks/network-interfaces.nix +++ b/modules/tasks/network-interfaces.nix @@ -124,6 +124,15 @@ in config = { + environment.systemPackages = + [ pkgs.host + pkgs.iproute + pkgs.iputils + pkgs.nettools + pkgs.wirelesstools + ]; + + jobs = pkgs.lib.singleton { name = "network-interfaces";