diff --git a/nixos/modules/services/monitoring/netdata.nix b/nixos/modules/services/monitoring/netdata.nix index d2b2b2f1747c..ebfbbf8f37c2 100644 --- a/nixos/modules/services/monitoring/netdata.nix +++ b/nixos/modules/services/monitoring/netdata.nix @@ -269,7 +269,7 @@ in { PrivateTmp = true; ProtectControlGroups = true; PrivateMounts = true; - } // (lib.optionalAttrs (cfg.claim_token_file != null) { + } // (lib.optionalAttrs (cfg.claimTokenFile != null) { LoadCredential = [ "netdata_claim_token:${cfg.claimTokenFile}" ];