From 6bd1d4a231e7ed056b99168ab717ce8e44ef273f Mon Sep 17 00:00:00 2001 From: Christine Elisabeth Koppel Date: Sat, 14 Feb 2026 16:52:24 +0100 Subject: [PATCH] Fix the broken environment call --- nix-system-configs/modules/system/gramethus.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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";