nixos/netdata: fix position of NETDATA_PIPENAME
It was accidentally placed in a condition-guarded block, making the setting only take effect when enableAnalyticsReporting = false.
This commit is contained in:
parent
060a47e1e4
commit
d410464c5d
1 changed files with 1 additions and 1 deletions
|
@ -214,9 +214,9 @@ in {
|
|||
++ lib.optional config.virtualisation.libvirtd.enable (config.virtualisation.libvirtd.package);
|
||||
environment = {
|
||||
PYTHONPATH = "${cfg.package}/libexec/netdata/python.d/python_modules";
|
||||
NETDATA_PIPENAME = "/run/netdata/ipc";
|
||||
} // lib.optionalAttrs (!cfg.enableAnalyticsReporting) {
|
||||
DO_NOT_TRACK = "1";
|
||||
NETDATA_PIPENAME = "/run/netdata/ipc";
|
||||
};
|
||||
restartTriggers = [
|
||||
config.environment.etc."netdata/netdata.conf".source
|
||||
|
|
Loading…
Reference in a new issue