summaryrefslogtreecommitdiffstats
path: root/makefu/3modules/netdata.nix
diff options
context:
space:
mode:
Diffstat (limited to 'makefu/3modules/netdata.nix')
-rw-r--r--makefu/3modules/netdata.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/makefu/3modules/netdata.nix b/makefu/3modules/netdata.nix
index 3ed33643c..a3c789eb2 100644
--- a/makefu/3modules/netdata.nix
+++ b/makefu/3modules/netdata.nix
@@ -71,8 +71,12 @@ in
};
config = mkIf cfg.enable {
systemd.services.netdata = {
- requires = [ "secret.service" ];
- after = [ "secret.service" ];
+ after = [
+ config.krebs.secret.files.netdata-stream.service
+ ];
+ requires = [
+ config.krebs.secret.files.netdata-stream.service
+ ];
};
krebs.secret.files.netdata-stream = {
path = "/run/secret/netdata-stream.conf";