From f4683696ba7c17af70a039571a785b89d3030c81 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 7 Jan 2022 12:55:27 +0100 Subject: vidhar: ... --- hosts/vidhar/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hosts') diff --git a/hosts/vidhar/default.nix b/hosts/vidhar/default.nix index 65b3abc8..8316a7e7 100644 --- a/hosts/vidhar/default.nix +++ b/hosts/vidhar/default.nix @@ -221,7 +221,7 @@ }; in '' ${pkgs.coreutils}/bin/install -m 0755 -o ${config.services.loki.user} -g ${config.services.loki.group} -d ${config.services.loki.configuration.ruler.storage.local.directory}/fake - ${pkgs.coreutils}/bin/install -m 0644 -o ${config.services.loki.user} -g ${config.services.loki.group} --target-directory=${config.services.loki.configuration.ruler.storage.local.directory}/fake ${pkgs.writeText "rules.yml" rulesYaml} + ${pkgs.coreutils}/bin/ln -sf -t ${config.services.loki.configuration.ruler.storage.local.directory}/fake ${pkgs.writeText "rules.yml" rulesYaml} ''; services.promtail = { enable = true; -- cgit v1.2.3