tools: Use bandwhich from unstable

This commit is contained in:
Simon Bruder 2023-10-04 23:36:30 +02:00
parent 7b836dd65b
commit 3e1cd23aea
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -3,7 +3,8 @@
{
programs = {
adb.enable = pkgs.stdenv.isx86_64 && config.sbruder.full;
bandwhich.enable = true;
# TODO 23.11: use option again
#bandwhich.enable = true;
iotop.enable = true;
wireshark = {
enable = config.sbruder.gui.enable && config.sbruder.full;
@ -11,6 +12,14 @@
};
};
# TODO 23.11: see above
security.wrappers.bandwhich = {
owner = "root";
group = "root";
capabilities = "cap_net_raw,cap_net_admin+ep";
source = "${pkgs.unstable.bandwhich}/bin/bandwhich";
};
environment.systemPackages = with pkgs; [
# top like tools
bmon # network monitor