From 56292d2a1a48deefeeed080cee9ce64175b494a9 Mon Sep 17 00:00:00 2001 From: eyjhb Date: Thu, 22 Aug 2024 13:54:04 +0200 Subject: [PATCH] gerd.stalwart: add meta --- machines/gerd/services/stalwart/default.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/machines/gerd/services/stalwart/default.nix b/machines/gerd/services/stalwart/default.nix index 22be4f6..8b0edd3 100644 --- a/machines/gerd/services/stalwart/default.nix +++ b/machines/gerd/services/stalwart/default.nix @@ -1,5 +1,20 @@ +{ config, ... }: + { imports = [ ./stalwart.nix ]; + + mine.shared.meta.stalwart = { + name = "Stalwart Mail"; + description = "We host our own mailserver, which can be reached on ${config.mine.shared.settings.mail.domain} with your LDAP username and password."; + + package = let + pkg = config.services.stalwart-mail.package; + in { + name = pkg.pname; + version = pkg.version; + meta = pkg.meta; + }; + }; }