@cryptotaxi247 / infra-1 / commits / f34304dd

macs: workaround home dir validation issue for node-exporter

Martin Weinelt committed Jan 7, 2025 at 01:40 UTC f34304ddc32ee8faafe7917fc34171b6ff1b2054
1 file changed +3
macs/nix-darwin.nix
+3
@@ -85,6 +85,9 @@ in
85
86 services.prometheus.exporters.node.enable = true;
87
88 + # https://github.com/LnL7/nix-darwin/issues/1256
89 + users.users._prometheus-node-exporter.home = lib.mkForce "/private/var/lib/prometheus-node-exporter";
90 +
91 launchd.daemons.rosetta2-gc = {
92 script = ''
93 date