summary refs log tree commit diff
path: root/nixos/release.nix
diff options
context:
space:
mode:
authorCasey Ransom <cransom@referentiallabs.com>2017-10-17 19:51:41 -0400
committerCasey Ransom <casey@dailykos.com>2018-01-02 17:57:19 -0500
commitf3cba4f6bb613654b74c63be4ef49a8ba675647a (patch)
tree725f5ee9a3ab934e54e0fc5dee674fab0f5c9b08 /nixos/release.nix
parente9d5c55d01102f322b2b2a7d10f2d7335b1c968d (diff)
downloadnixpkgs-f3cba4f6bb613654b74c63be4ef49a8ba675647a.tar
nixpkgs-f3cba4f6bb613654b74c63be4ef49a8ba675647a.tar.gz
nixpkgs-f3cba4f6bb613654b74c63be4ef49a8ba675647a.tar.bz2
nixpkgs-f3cba4f6bb613654b74c63be4ef49a8ba675647a.tar.lz
nixpkgs-f3cba4f6bb613654b74c63be4ef49a8ba675647a.tar.xz
nixpkgs-f3cba4f6bb613654b74c63be4ef49a8ba675647a.tar.zst
nixpkgs-f3cba4f6bb613654b74c63be4ef49a8ba675647a.zip
netdata service: fix permissions for apps.plugin
apps.plugin requires capabilities for full process monitoring. with
1.9.0, netdata allows multiple directories to search for plugins and the
setuid directory can be specified here.

the module is backwards compatible with older configs. a test is
included that verifies data gathering for the elevated privileges. one
additional attribute is added to make configuration more generic than
including configuration in string form.
Diffstat (limited to 'nixos/release.nix')
-rw-r--r--nixos/release.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/release.nix b/nixos/release.nix
index cf3fe6abd48..e5f9a3aeff3 100644
--- a/nixos/release.nix
+++ b/nixos/release.nix
@@ -312,6 +312,7 @@ in rec {
   tests.nat.firewall = callTest tests/nat.nix { withFirewall = true; };
   tests.nat.firewall-conntrack = callTest tests/nat.nix { withFirewall = true; withConntrackHelpers = true; };
   tests.nat.standalone = callTest tests/nat.nix { withFirewall = false; };
+  tests.netdata = callTest tests/netdata.nix { };
   tests.networking.networkd = callSubTests tests/networking.nix { networkd = true; };
   tests.networking.scripted = callSubTests tests/networking.nix { networkd = false; };
   # TODO: put in networking.nix after the test becomes more complete