From 8f0b1ac73190e09c69326aa99583577d17f8d19c Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Tue, 7 Jan 2025 10:14:27 +0400 Subject: [PATCH] ok i think i fixed it --- .../services/local/homepage/default.nix | 84 ++++++++++--------- 1 file changed, 44 insertions(+), 40 deletions(-) diff --git a/modules/server/services/local/homepage/default.nix b/modules/server/services/local/homepage/default.nix index 17371ed2..11677922 100644 --- a/modules/server/services/local/homepage/default.nix +++ b/modules/server/services/local/homepage/default.nix @@ -26,46 +26,50 @@ in { memory = true; }; }]; - services = [{ - "Media" = [ ] ++ lib.optionals srv.media.jellyfin.enable [{ - "Jellyfin" = { - description = "media server"; - href = "https://jellyfin.sako.box"; - icon = "jellyfin.svg"; - }; - }]; - "Services" = [ ] ++ lib.optionals srv.services.forgejo.enable [{ - "Forgejo" = { - description = "Selfhosted Git Forge"; - icon = "forgejo.svg"; - href = "https://git.sako.lol"; - }; - }] ++ lib.optionals srv.fedi.akkoma.enable [{ - "Akkoma" = { - description = "Fediverse"; - icon = "akkoma.svg"; - href = "https://fedi.sako.lol"; - }; - }] ++ lib.optionals srv.services.redlib.enable [{ - "Redlib" = { - icon = "redlib.svg"; - description = "privacy friendly reddit frontend"; - href = "https://redlib.sako.box"; - }; - }] ++ lib.optionals srv.services.local.nextcloud.enable [{ - "Nextcloud" = { - icon = "nextcloud.svg"; - description = "selfhosted cloud"; - href = "https://nextcloud.sako.box"; - }; - }] ++ lib.optionals srv.services.sakosite.enable [{ - "Site" = { - icon = "https://sako.lol/icon.png"; - description = "personal site"; - href = "https://sako.lol"; - }; - }]; - }]; + services = [ + { + "Media" = [ ] ++ lib.optionals srv.media.jellyfin.enable [{ + "Jellyfin" = { + description = "media server"; + href = "https://jellyfin.sako.box"; + icon = "jellyfin.svg"; + }; + }]; + } + { + "Services" = [ ] ++ lib.optionals srv.services.forgejo.enable [{ + "Forgejo" = { + description = "Selfhosted Git Forge"; + icon = "forgejo.svg"; + href = "https://git.sako.lol"; + }; + }] ++ lib.optionals srv.fedi.akkoma.enable [{ + "Akkoma" = { + description = "Fediverse"; + icon = "akkoma.svg"; + href = "https://fedi.sako.lol"; + }; + }] ++ lib.optionals srv.services.redlib.enable [{ + "Redlib" = { + icon = "redlib.svg"; + description = "privacy friendly reddit frontend"; + href = "https://redlib.sako.box"; + }; + }] ++ lib.optionals srv.services.local.nextcloud.enable [{ + "Nextcloud" = { + icon = "nextcloud.svg"; + description = "selfhosted cloud"; + href = "https://nextcloud.sako.box"; + }; + }] ++ lib.optionals srv.services.sakosite.enable [{ + "Site" = { + icon = "https://sako.lol/icon.png"; + description = "personal site"; + href = "https://sako.lol"; + }; + }]; + } + ]; }; }; };