nixos/prometheus-node-exporter: do not protect home

Set ProtectHome to false for the node exporter. This allows free space
monitoring under /home.
This commit is contained in:
Alexandre Iooss 2022-01-04 08:14:36 +01:00
parent ae4da5e933
commit e5b24e6da2
No known key found for this signature in database
GPG key ID: 6C79278F3FCDCC02

View file

@ -44,6 +44,8 @@ in
];
# The timex collector needs to access clock APIs
ProtectClock = any (collector: collector == "timex") cfg.disabledCollectors;
# Allow space monitoring under /home
ProtectHome = true;
};
};
}