Fix the broken environment call

This commit is contained in:
Root User 2026-02-14 16:52:24 +01:00
parent 21bf4848bb
commit 6bd1d4a231
Signed by: root
GPG key ID: 087F0A95E5766D72

View file

@ -14,7 +14,7 @@
}; };
}; };
environment.etc."alloy/config.alloy" = { environment.etc.alloy.config.alloy = {
text = '' text = ''
server: server:
http_listen_port: 28183 http_listen_port: 28183
@ -216,7 +216,7 @@ in {
serviceConfig = { serviceConfig = {
# The grafana-agent binary provided by nixpkgs # The grafana-agent binary provided by nixpkgs
ExecStart = '' ExecStart = ''
${pkgs.grafana-alloy}/bin/alloy --config.file /etc/alloy/config.alloy ${pkgs.grafana-alloy}/bin/alloy
''; '';
Restart = "on-failure"; Restart = "on-failure";