nixpkgs/nixos/modules
Maximilian Bosch 50a34e55b2
nixos/iftop: add module
This patch is heavily inspired by bd0d8ed807d29faa3deee96bafcbbd76c8fa4060 which added
a setcap wrapper for `mtr` in order to allow running `mtr` without
`sudo`. The need for the capability `cap_net_raw` that can be registered using
`setcap` has been documented in the Arch Wiki: https://wiki.archlinux.org/index.php/Capabilities#iftop

A simple testcase has been added which starts two machines, one with a
setcap wrapper for `iftop`, one without. Both testcases monitor the
bandwidth usage of the machine using the options `-t -s 1` once, the
machine with setcap wrapper is expected to succeed, the `iftop` on the
machine without setcap wrapper is expected to return a non-zero exit
code.
2018-04-07 15:06:51 +02:00
..
config Merge pull request #38114 from oxij/nixos/doc-module 2018-04-05 07:09:32 +00:00
hardware linuxPackages.nvidia_x11_legacy173: drop 2018-03-27 16:43:53 +03:00
i18n/input-method
installer nixos/sd-image-*: Raspberry Pi firmware no longer falls under unfree 2018-04-02 23:46:18 +03:00
misc nixos: doc: introduce documentation config subtree 2018-03-30 06:52:26 +00:00
profiles Merge pull request #38114 from oxij/nixos/doc-module 2018-04-05 07:09:32 +00:00
programs nixos/iftop: add module 2018-04-07 15:06:51 +02:00
security acme module: update for simp_le v0.8 2018-03-24 17:43:32 +01:00
services nixos/lxqt: enable upower if config.powerManagement is enabled (#38318) 2018-04-06 08:49:55 +01:00
system mkdir -> install -d 2018-04-04 13:04:35 +02:00
tasks Merge pull request #38405 from volth/patch-121 2018-04-05 04:45:50 +00:00
testing nixos/qemu: Deduplicate QEMU serialDevice into qemu-flags.nix 2018-01-30 16:57:27 +02:00
virtualisation Update create-gce.sh script. Set default option for GCE images to disable host key replacement by service. 2018-04-06 10:57:31 +02:00
module-list.nix nixos/iftop: add module 2018-04-07 15:06:51 +02:00
rename.nix Merge pull request #38114 from oxij/nixos/doc-module 2018-04-05 07:09:32 +00:00