mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
nixos/netdata: ensure analytics reporting is truly opted-out
Fixes 260035.
This commit is contained in:
parent
3d3fb53436
commit
db1e415c07
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user