summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2019-02-07 16:52:01 +0100
committerMaximilian Bosch <maximilian@mbosch.me>2019-02-07 16:52:01 +0100
commit6a0d2ff7c1d024914a3570b85f1c88df8930b471 (patch)
tree76b91a43668de51ae681dcf096b9fbc451cd5759 /nixos
parentdcfce974d991b4f5e8721cf9881bddc44dcf6bba (diff)
downloadnixpkgs-6a0d2ff7c1d024914a3570b85f1c88df8930b471.tar
nixpkgs-6a0d2ff7c1d024914a3570b85f1c88df8930b471.tar.gz
nixpkgs-6a0d2ff7c1d024914a3570b85f1c88df8930b471.tar.bz2
nixpkgs-6a0d2ff7c1d024914a3570b85f1c88df8930b471.tar.lz
nixpkgs-6a0d2ff7c1d024914a3570b85f1c88df8930b471.tar.xz
nixpkgs-6a0d2ff7c1d024914a3570b85f1c88df8930b471.tar.zst
nixpkgs-6a0d2ff7c1d024914a3570b85f1c88df8930b471.zip
nixos/iotop: don't install the package globally
The binary will be in `/run/wrappers/bin` and adding `pkgs.iotop` won't
have any effect.

See also https://github.com/NixOS/nixpkgs/pull/51749#discussion_r254724170
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/programs/iotop.nix1
1 files changed, 0 insertions, 1 deletions
diff --git a/nixos/modules/programs/iotop.nix b/nixos/modules/programs/iotop.nix
index 986d562ad0f..5512dbc62f7 100644
--- a/nixos/modules/programs/iotop.nix
+++ b/nixos/modules/programs/iotop.nix
@@ -9,7 +9,6 @@ in {
     programs.iotop.enable = mkEnableOption "iotop + setcap wrapper";
   };
   config = mkIf cfg.enable {
-    environment.systemPackages = [ pkgs.iotop ];
     security.wrappers.iotop = {
       source = "${pkgs.iotop}/bin/iotop";
       capabilities = "cap_net_admin+p";