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/lidarr.nix | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'modules/lidarr.nix') diff --git a/modules/lidarr.nix b/modules/lidarr.nix index 84d363b..127e8d9 100644 --- a/modules/lidarr.nix +++ b/modules/lidarr.nix @@ -3,6 +3,7 @@ inputs, lib, libNginx, + this, ... }: with lib; @@ -56,5 +57,12 @@ in systemd.tmpfiles.rules = with config.services.lidarr; [ "d /var/lib/lidarr/root 0755 ${user} ${group} - -" ]; + + topology = with cfg; { + nodes.${this.hostname}.services.lidarr = { + info = domain; + details.listen.text = "127.0.0.1:8686"; + }; + }; }; } -- cgit v1.2.3