From 3e8aa1818bb14fb91c2b14167ca0bfed201a2578 Mon Sep 17 00:00:00 2001 From: Danilo Reyes Date: Sun, 29 Sep 2024 00:40:07 -0600 Subject: [PATCH] wip layout & bookmarks --- modules/servers/homepage.nix | 53 ++++++++++++++++++++++++++++++++++-- 1 file changed, 50 insertions(+), 3 deletions(-) diff --git a/modules/servers/homepage.nix b/modules/servers/homepage.nix index d23d088..0833144 100644 --- a/modules/servers/homepage.nix +++ b/modules/servers/homepage.nix @@ -21,15 +21,18 @@ in environmentFile = config.sops.secrets.homepage.path; settings = { layout = { - "Multimedia" = { + "multimedia" = { + tab = "servers"; style = "row"; columns = 2; }; - "Piracy" = { + "piracy" = { + tab = "servers"; style = "row"; columns = 4; }; - "Other" = { + "other" = { + tab = "chichis"; style = "row"; columns = 3; }; @@ -87,6 +90,50 @@ in ]; } ]; + bookmarks = [ + { + servers = [ + { + shiori = [ + { + abbr = "SH"; + href = "https://bookmarks.servidos.lat/"; + } + ]; + maloja = [ + { + abbr = "ML"; + href = "https://maloja.servidos.lat/"; + } + ]; + microbin = [ + { + abbr = "CP"; + href = "https://copy.servidos.lat/"; + } + ]; + multi-scrobbpler = [ + { + abbr = "MS"; + href = "https://scrobble.servidos.lat/"; + } + ]; + ryot = [ + { + abbr = "RT"; + href = "https://tracker.servidos.lat/"; + } + ]; + vaultwarden = [ + { + abbr = "VW"; + href = "https://vault.servidos.lat"; + } + ]; + } + ]; + } + ]; }; nginx.virtualHosts."${cfg.host}" = lib.mkIf cfg.enableProxy ( proxyReverse cfg.hostName cfg.port // { }