Fix the broken environment call
This commit is contained in:
parent
21bf4848bb
commit
6bd1d4a231
1 changed files with 2 additions and 2 deletions
|
|
@ -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";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue