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 = ''
|
||||
server:
|
||||
http_listen_port: 28183
|
||||
|
|
@ -216,7 +216,7 @@ in {
|
|||
serviceConfig = {
|
||||
# The grafana-agent binary provided by nixpkgs
|
||||
ExecStart = ''
|
||||
${pkgs.grafana-alloy}/bin/alloy --config.file /etc/alloy/config.alloy
|
||||
${pkgs.grafana-alloy}/bin/alloy
|
||||
'';
|
||||
|
||||
Restart = "on-failure";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue