From f71c757bff6d7bfd254697450892f39dd90f7fad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Wed, 27 Mar 2024 23:23:55 +0100 Subject: [PATCH] Add iproute2 with color --- config/default.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/config/default.nix b/config/default.nix index 4505c9d3..23dd239d 100644 --- a/config/default.nix +++ b/config/default.nix @@ -79,6 +79,18 @@ git htop iotop + (iproute2.overrideAttrs ({ configureFlags ? [], src, ... }: let + version = "6.8.0"; + in { + inherit version; + src = pkgs.fetchurl { + url = "mirror://kernel/linux/utils/net/iproute2/iproute2-${version}.tar.xz"; + hash = "sha256-A6bMo9cakI0fFfe0lb4rj+hR+UFFjcRmSQDX9F/PaM4="; + }; + configureFlags = configureFlags ++ [ + "--color" "auto" + ]; + })) jq lsof # to find lingering nix processes locking files in nix store mtr