From 8a58a4d4f9ef98f833c158c6be27c0b5dd8eb9f1 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 7 Jan 2022 12:52:37 +0100 Subject: vidhar: ... --- hosts/vidhar/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hosts/vidhar/default.nix b/hosts/vidhar/default.nix index a300bd59..710ec83e 100644 --- a/hosts/vidhar/default.nix +++ b/hosts/vidhar/default.nix @@ -219,7 +219,10 @@ } ]; }; - in "${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} ${pkgs.writeText "rules.yml" rulesYaml}"; + 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} ${pkgs.writeText "rules.yml" rulesYaml} + ''; services.promtail = { enable = true; configuration = { -- cgit v1.2.3