From 4482f8aaa83a6e8be7040856286c1e57ecf12624 Mon Sep 17 00:00:00 2001 From: Michael Thomas Date: Fri, 10 May 2024 01:29:47 +0000 Subject: [PATCH] fix(homer): add description option --- modules/services/homer/config.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/services/homer/config.nix b/modules/services/homer/config.nix index 8b9b839..4a6ac8e 100644 --- a/modules/services/homer/config.nix +++ b/modules/services/homer/config.nix @@ -58,6 +58,14 @@ example = "App"; default = null; }; + description = lib.mkOption { + type = lib.types.nullOr lib.types.str; + description = '' + Application description. + ''; + example = "An amazing app!"; + default = null; + }; category = lib.mkOption { type = lib.types.nullOr lib.types.str; description = '' @@ -121,6 +129,7 @@ inherit (cat) name; items = lib.forEach catApps (a: { inherit (a.dashboard) method name type url; + subtitle = a.dashboard.description; icon = lib.optionalString (a.dashboard.icon != null) "fas fa-${a.dashboard.icon}"; target = "_blank"; });