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/postgresql.nix | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'modules/postgresql.nix') diff --git a/modules/postgresql.nix b/modules/postgresql.nix index 5081340..f9ea64f 100644 --- a/modules/postgresql.nix +++ b/modules/postgresql.nix @@ -1,5 +1,6 @@ { config, + inputs, lib, pkgs, this, @@ -94,5 +95,13 @@ in \unset QUIET '' ); + + topology = { + nodes.${this.hostname}.services.postgresql = { + name = "PostgreSQL"; + icon = "${inputs.homelab-svg-assets}/assets/postgresql.svg"; + details.listen.text = "127.0.0.1:5432"; + }; + }; }; } -- cgit 1.4.1