diff --git a/nix-system-configs/modules/system/gramethus.nix b/nix-system-configs/modules/system/gramethus.nix index d282ded..1b73109 100644 --- a/nix-system-configs/modules/system/gramethus.nix +++ b/nix-system-configs/modules/system/gramethus.nix @@ -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";