From 389becf9700d3dee7f09073ce4d235fc7c30b5c8 Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Sun, 5 May 2024 14:28:31 +0300 Subject: 2024-05-05 --- modules/loki.nix | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'modules/loki.nix') diff --git a/modules/loki.nix b/modules/loki.nix index c446848..75e534b 100644 --- a/modules/loki.nix +++ b/modules/loki.nix @@ -2,6 +2,7 @@ config, lib, libNginx, + this, ... }: with lib; @@ -120,5 +121,11 @@ in "d ${storage.filesystem.chunks_directory} 0700 loki loki - -" "d ${storage.filesystem.rules_directory} 0700 loki loki - -" ]; + + topology = with cfg; { + nodes.${this.hostname}.services.loki = { + info = domain; + }; + }; }; } -- cgit 1.4.1