diff options
author | Izorkin <izorkin@elven.pw> | 2019-10-28 21:20:57 +0300 |
---|---|---|
committer | Izorkin <izorkin@elven.pw> | 2019-10-28 21:20:57 +0300 |
commit | 001b3d5764a72d3e0dec049013dcf84d8bf5e4e4 (patch) | |
tree | 67a2c7194924daf6777dbb37b8ffd390b5769e00 /nixos | |
parent | fa4f091ac0c57cce20b05ce8df1c202923c51e37 (diff) | |
download | nixpkgs-001b3d5764a72d3e0dec049013dcf84d8bf5e4e4.tar nixpkgs-001b3d5764a72d3e0dec049013dcf84d8bf5e4e4.tar.gz nixpkgs-001b3d5764a72d3e0dec049013dcf84d8bf5e4e4.tar.bz2 nixpkgs-001b3d5764a72d3e0dec049013dcf84d8bf5e4e4.tar.lz nixpkgs-001b3d5764a72d3e0dec049013dcf84d8bf5e4e4.tar.xz nixpkgs-001b3d5764a72d3e0dec049013dcf84d8bf5e4e4.tar.zst nixpkgs-001b3d5764a72d3e0dec049013dcf84d8bf5e4e4.zip |
nixos/netdata: add which to path
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/monitoring/netdata.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/monitoring/netdata.nix b/nixos/modules/services/monitoring/netdata.nix index 463b1b882ac..8d17bf8c60d 100644 --- a/nixos/modules/services/monitoring/netdata.nix +++ b/nixos/modules/services/monitoring/netdata.nix @@ -138,7 +138,7 @@ in { description = "Real time performance monitoring"; after = [ "network.target" ]; wantedBy = [ "multi-user.target" ]; - path = (with pkgs; [ gawk curl ]) ++ lib.optional cfg.python.enable + path = (with pkgs; [ curl gawk which ]) ++ lib.optional cfg.python.enable (pkgs.python3.withPackages cfg.python.extraPackages); serviceConfig = { Environment="PYTHONPATH=${pkgs.netdata}/libexec/netdata/python.d/python_modules"; |