From ed7679c96ab658f8299234d897d322c354d864b2 Mon Sep 17 00:00:00 2001 From: Jack O'Sullivan Date: Sun, 12 Jun 2022 20:29:54 +0100 Subject: [PATCH] nixos/common: Fix Netdata missing systemd units --- nixos/modules/common.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nixos/modules/common.nix b/nixos/modules/common.nix index 96c5931..86be39d 100644 --- a/nixos/modules/common.nix +++ b/nixos/modules/common.nix @@ -139,6 +139,10 @@ in "page cache size" = 32; "dbengine multihost disk space" = 256; }; + "plugin:cgroups" = { + "cgroups to match as systemd services" = + " /system.slice/system-*.slice/*.service !/system.slice/*/*.service /system.slice/*.service"; + }; }; configDir = { "go.d.conf" = mkDefault (pkgs.writeText "netdata-go.d.conf" ''