tools: Use bandwhich from unstable
This commit is contained in:
parent
7b836dd65b
commit
3e1cd23aea
|
@ -3,7 +3,8 @@
|
||||||
{
|
{
|
||||||
programs = {
|
programs = {
|
||||||
adb.enable = pkgs.stdenv.isx86_64 && config.sbruder.full;
|
adb.enable = pkgs.stdenv.isx86_64 && config.sbruder.full;
|
||||||
bandwhich.enable = true;
|
# TODO 23.11: use option again
|
||||||
|
#bandwhich.enable = true;
|
||||||
iotop.enable = true;
|
iotop.enable = true;
|
||||||
wireshark = {
|
wireshark = {
|
||||||
enable = config.sbruder.gui.enable && config.sbruder.full;
|
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; [
|
environment.systemPackages = with pkgs; [
|
||||||
# top like tools
|
# top like tools
|
||||||
bmon # network monitor
|
bmon # network monitor
|
||||||
|
|
Loading…
Reference in a new issue