From d2ff999240facc8a9805cb98137abc67d6d4bd81 Mon Sep 17 00:00:00 2001
From: matt1432 <matt@nelim.org>
Date: Sat, 22 Mar 2025 22:57:09 -0400
Subject: [PATCH] feat(homepage): add comics services

---
 .../nos/modules/homepage/default.nix          | 30 ++++++++++++++++++-
 flake.lock                                    |  8 ++---
 2 files changed, 33 insertions(+), 5 deletions(-)

diff --git a/configurations/nos/modules/homepage/default.nix b/configurations/nos/modules/homepage/default.nix
index 63fdec36..8cdc5b6b 100644
--- a/configurations/nos/modules/homepage/default.nix
+++ b/configurations/nos/modules/homepage/default.nix
@@ -205,7 +205,7 @@
             joal = {
               href = "https://joal.nelim.org";
               icon = "joal.png";
-              description = "boosts YGGTorrent ratio";
+              description = "secret black magic stuff";
             };
           }
         ];
@@ -215,6 +215,34 @@
       #####################################################
       {
         "misc projects" = [
+          {
+            komga = rec {
+              href = "https://komga.nelim.org";
+              icon = "komga.png";
+              description = "comic book library";
+              widget = {
+                type = "komga";
+                url = href;
+                username = "{{HOMEPAGE_VAR_KOMGA_USER}}";
+                password = "{{HOMEPAGE_VAR_KOMGA_PASSWORD}}";
+                key = "{{HOMEPAGE_VAR_COMIC_VINE_KEY}}";
+              };
+            };
+          }
+          {
+            kapowarr = {
+              href = "https://lan.nelim.org/kapowarr";
+              icon = "kapowarr.png";
+              description = "organizes comic books";
+            };
+          }
+          {
+            jdownloader2 = {
+              href = "https://lan.nelim.org/jd2";
+              icon = "jdownloader2.png";
+              description = "multi use download client";
+            };
+          }
           {
             freshrss = {
               href = "https://rss.nelim.org";
diff --git a/flake.lock b/flake.lock
index 5cb507df..dd44e62d 100644
--- a/flake.lock
+++ b/flake.lock
@@ -1700,11 +1700,11 @@
         ]
       },
       "locked": {
-        "lastModified": 1742356976,
-        "narHash": "sha256-+wOAk2qoKEibLR26QrMihl5enkijZu42cuBaHaGrBWk=",
+        "lastModified": 1742698244,
+        "narHash": "sha256-QUd27YI5L9ydgMs3Y5MO9XuwgAT1YBfbI3iAVAzw/Mo=",
         "ref": "refs/heads/main",
-        "rev": "a840d582efb9a11bd74439a536e8dbfe089977fb",
-        "revCount": 95,
+        "rev": "ebc18be3c2234e779708f0e4335d458ec22ae1e2",
+        "revCount": 96,
         "type": "git",
         "url": "ssh://git@git.nelim.org/matt1432/nixos-secrets"
       },