fix(homer): add description option
This commit is contained in:
parent
1ecaac36e4
commit
4482f8aaa8
@ -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";
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user