From 94838ca55637372f38874d2a0729e2b947f999e3 Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Thu, 7 Sep 2023 15:37:30 -0400 Subject: [PATCH] iftop: add options --- modules/cli/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/cli/default.nix b/modules/cli/default.nix index 37e4178..afc4eee 100644 --- a/modules/cli/default.nix +++ b/modules/cli/default.nix @@ -45,6 +45,10 @@ (writeShellScriptBin "nr" "exec nix repl \"$(nix eval nixpkgs#path)\"") + (lib.hiPrio (writeShellScriptBin "iftop" '' + exec ${iftop}/bin/iftop -P -m100M "$@" + '')) + (writeShellScriptBin "bat" '' ${bat}/bin/bat --color=always --wrap=never --pager=never --terminal-width=80 "$@" '')