nixos/netdata: ensure analytics reporting is truly opted-out

Fixes 260035.
This commit is contained in:
Raito Bezarius 2023-12-08 23:05:07 +01:00
parent 3d3fb53436
commit db1e415c07

View file

@ -198,6 +198,7 @@ in {
}
];
services.netdata.configDir.".opt-out-from-anonymous-statistics" = mkIf (!cfg.enableAnalyticsReporting) (pkgs.writeText ".opt-out-from-anonymous-statistics" "");
environment.etc."netdata/netdata.conf".source = configFile;
environment.etc."netdata/conf.d".source = configDirectory;