some changes

This commit is contained in:
2024-07-12 22:14:20 +02:00
parent 4a183af66c
commit b92b9b963a
4 changed files with 20 additions and 17 deletions

View File

@@ -9,28 +9,28 @@ in
postfix: yes
'';
sops.secrets.netdata-claim-token = { };
services.netdata = {
enable = true;
package = unstable.netdata;
# claimTokenFile = config.sops.secrets.netdata-claim-token.path;
python.enable = true;
package = pkgs.netdata.override {
withCloud = true;
};
config = {
global = {
# uncomment to reduce memory to 32 MB
"memory mode" = "none";
"page cache size" = 32;
# update interval
"update every" = 15;
};
ml = {
# enable machine learning
"enabled" = "yes";
};
# web = {
# mode = "none";
# "accept a streaming request every seconds" = 0;
# };
};
};
}