iftop: add options

This commit is contained in:
Sean Buckley 2023-09-07 15:37:30 -04:00
parent d75bf62d38
commit 94838ca556

View file

@ -45,6 +45,10 @@
(writeShellScriptBin "nr" "exec nix repl \"$(nix eval nixpkgs#path)\"") (writeShellScriptBin "nr" "exec nix repl \"$(nix eval nixpkgs#path)\"")
(lib.hiPrio (writeShellScriptBin "iftop" ''
exec ${iftop}/bin/iftop -P -m100M "$@"
''))
(writeShellScriptBin "bat" '' (writeShellScriptBin "bat" ''
${bat}/bin/bat --color=always --wrap=never --pager=never --terminal-width=80 "$@" ${bat}/bin/bat --color=always --wrap=never --pager=never --terminal-width=80 "$@"
'') '')