about summary refs log tree commit diff stats
path: root/internal/options
diff options
context:
space:
mode:
Diffstat (limited to 'internal/options')
-rw-r--r--internal/options/option.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/internal/options/option.go b/internal/options/option.go
index d714ad2..b8b838a 100644
--- a/internal/options/option.go
+++ b/internal/options/option.go
@@ -47,9 +47,14 @@ func (html *HTML) UnmarshalJSON(raw []byte) error {
 	return nil
 }
 
+type Link struct {
+	Name string
+	URL  string `json:"url"`
+}
+
 type NixOption struct {
 	Option          string
-	Declarations    []string
+	Declarations    []Link
 	Default         NixValue
 	Description     HTML
 	Example         NixValue