From b886f06ea2e2e5daa4755bf9b6ef522a05d39669 Mon Sep 17 00:00:00 2001 From: Jack O'Sullivan Date: Mon, 13 Jun 2022 02:13:50 +0100 Subject: [PATCH] nixos/common: Fix netdata's python.d not working --- nixos/modules/common.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/nixos/modules/common.nix b/nixos/modules/common.nix index 86be39d..df7fbd6 100644 --- a/nixos/modules/common.nix +++ b/nixos/modules/common.nix @@ -163,6 +163,15 @@ in }; }; }; + + systemd = { + services = { + netdata = mkIf config.services.netdata.enable { + # python.d plugin script does #!/usr/bin/env bash + path = with pkgs; [ bash ]; + }; + }; + }; } (mkIf config.services.kmscon.enable { fonts.fonts = with pkgs; [