okay this should worknow

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

View file

@ -27,50 +27,44 @@ in {
}; };
}]; }];
services = [{ services = [{
"Media" = [{ "Media" = [ ] ++ mkIf srv.media.jellyfin.enable [{
"Jellyfin" = mkIf srv.media.jellyfin.enable { "Jellyfin" = {
icon = "jellyfin.svg"; description = "media server";
description = "Media server";
href = "https://jellyfin.sako.box"; href = "https://jellyfin.sako.box";
icon = "jellyfin.svg";
}; };
}]; }];
"Services" = [ "Services" = [ ] ++ mkIf srv.services.forgejo.enable [{
[{ "Forgejo" = {
"Forgejo" = mkIf srv.services.forgejo.enable {
icon = "forgejo.svg";
description = "Selfhosted Git Forge"; description = "Selfhosted Git Forge";
icon = "forgejo.svg";
href = "https://git.sako.lol"; href = "https://git.sako.lol";
}; };
}] }] ++ mkIf srv.fedi.akkoma.enable [{
[{ "Akkoma" = {
"Akkoma" = mkIf srv.fedi.akkoma.enable { description = "Fediverse";
icon = "akkoma.svg"; icon = "akkoma.svg";
description = "Selfhosted Fediverse thing";
href = "https://fedi.sako.lol"; href = "https://fedi.sako.lol";
}; };
}] }] ++ mkIf srv.services.redlib.enable [{
[{ "Redlib" = {
"Redlib" = mkIf srv.services.redlib.enable {
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 [{
# [{ "Nextcloud" = {
# "Nextcloud" = mkIf srv.services.local.nextcloud.enable { icon = "nextcloud.svg";
# icon = "nextcloud.svg"; description = "selfhosted cloud";
# description = "cloud"; href = "https://nextcloud.sako.box";
# href = "https://nextcloud.sako.box"; };
# }; }] ++ mkIf srv.services.sakosite.enable [{
# }] "Site" = {
[{
"Site" = mkIf srv.services.sakosite.enable {
icon = "https://sako.lol/icon.png"; icon = "https://sako.lol/icon.png";
description = "personal site"; description = "personal site";
href = "https://sako.lol"; href = "https://sako.lol";
}; };
}] }];
];
}]; }];
}; };
}; };