attempt 2

This commit is contained in:
Sakooooo 2025-01-07 10:11:05 +04:00
parent 5369980479
commit de8337edae
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -27,38 +27,38 @@ in {
}; };
}]; }];
services = [{ services = [{
"Media" = [ ] ++ mkIf srv.media.jellyfin.enable [{ "Media" = [ ] ++ lib.optionals srv.media.jellyfin.enable [{
"Jellyfin" = { "Jellyfin" = {
description = "media server"; description = "media server";
href = "https://jellyfin.sako.box"; href = "https://jellyfin.sako.box";
icon = "jellyfin.svg"; icon = "jellyfin.svg";
}; };
}]; }];
"Services" = [ ] ++ mkIf srv.services.forgejo.enable [{ "Services" = [ ] ++ lib.optionals srv.services.forgejo.enable [{
"Forgejo" = { "Forgejo" = {
description = "Selfhosted Git Forge"; description = "Selfhosted Git Forge";
icon = "forgejo.svg"; icon = "forgejo.svg";
href = "https://git.sako.lol"; href = "https://git.sako.lol";
}; };
}] ++ mkIf srv.fedi.akkoma.enable [{ }] ++ lib.optionals srv.fedi.akkoma.enable [{
"Akkoma" = { "Akkoma" = {
description = "Fediverse"; description = "Fediverse";
icon = "akkoma.svg"; icon = "akkoma.svg";
href = "https://fedi.sako.lol"; href = "https://fedi.sako.lol";
}; };
}] ++ mkIf srv.services.redlib.enable [{ }] ++ lib.optionals srv.services.redlib.enable [{
"Redlib" = { "Redlib" = {
icon = "redlib.svg"; icon = "redlib.svg";
description = "privacy friendly reddit frontend"; description = "privacy friendly reddit frontend";
href = "https://redlib.sako.box"; href = "https://redlib.sako.box";
}; };
}] ++ mkIf srv.services.local.nextcloud.enable [{ }] ++ lib.optionals srv.services.local.nextcloud.enable [{
"Nextcloud" = { "Nextcloud" = {
icon = "nextcloud.svg"; icon = "nextcloud.svg";
description = "selfhosted cloud"; description = "selfhosted cloud";
href = "https://nextcloud.sako.box"; href = "https://nextcloud.sako.box";
}; };
}] ++ mkIf srv.services.sakosite.enable [{ }] ++ lib.optionals srv.services.sakosite.enable [{
"Site" = { "Site" = {
icon = "https://sako.lol/icon.png"; icon = "https://sako.lol/icon.png";
description = "personal site"; description = "personal site";