From bbf5ca376326363aeef437c885d98c5c3c54176e Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Fri, 13 Jun 2025 22:01:46 +0530 Subject: Move dashboard link to settings --- modules/dashboard/dashboard-template.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'modules/dashboard/dashboard-template.nix') diff --git a/modules/dashboard/dashboard-template.nix b/modules/dashboard/dashboard-template.nix index 43812a0..4c4b67f 100644 --- a/modules/dashboard/dashboard-template.nix +++ b/modules/dashboard/dashboard-template.nix @@ -1,4 +1,4 @@ -{ title, links, ... }: +{ title, links ? [], embedLink ? null, ... }: with builtins; let withLinkAttr = link: attr: def: value: @@ -108,9 +108,7 @@ let ''; headerHTML = '' -
- ${title} -
+
${title}
''; in '' @@ -127,9 +125,11 @@ in -
- -
+ ${if embedLink == null then "" else '' +
+ +
+ ''} -- cgit v1.3.1