okay this should worknow
This commit is contained in:
parent
8ab1cccb29
commit
5369980479
|
@ -27,50 +27,44 @@ in {
|
|||
};
|
||||
}];
|
||||
services = [{
|
||||
"Media" = [{
|
||||
"Jellyfin" = mkIf srv.media.jellyfin.enable {
|
||||
icon = "jellyfin.svg";
|
||||
description = "Media server";
|
||||
"Media" = [ ] ++ mkIf srv.media.jellyfin.enable [{
|
||||
"Jellyfin" = {
|
||||
description = "media server";
|
||||
href = "https://jellyfin.sako.box";
|
||||
icon = "jellyfin.svg";
|
||||
};
|
||||
}];
|
||||
"Services" = [
|
||||
[{
|
||||
"Forgejo" = mkIf srv.services.forgejo.enable {
|
||||
icon = "forgejo.svg";
|
||||
"Services" = [ ] ++ mkIf srv.services.forgejo.enable [{
|
||||
"Forgejo" = {
|
||||
description = "Selfhosted Git Forge";
|
||||
icon = "forgejo.svg";
|
||||
href = "https://git.sako.lol";
|
||||
};
|
||||
}]
|
||||
[{
|
||||
"Akkoma" = mkIf srv.fedi.akkoma.enable {
|
||||
}] ++ mkIf srv.fedi.akkoma.enable [{
|
||||
"Akkoma" = {
|
||||
description = "Fediverse";
|
||||
icon = "akkoma.svg";
|
||||
description = "Selfhosted Fediverse thing";
|
||||
href = "https://fedi.sako.lol";
|
||||
};
|
||||
}]
|
||||
[{
|
||||
"Redlib" = mkIf srv.services.redlib.enable {
|
||||
}] ++ mkIf srv.services.redlib.enable [{
|
||||
"Redlib" = {
|
||||
icon = "redlib.svg";
|
||||
description = "privacy friendly reddit frontend";
|
||||
href = "https://redlib.sako.box";
|
||||
};
|
||||
}]
|
||||
# [{
|
||||
# "Nextcloud" = mkIf srv.services.local.nextcloud.enable {
|
||||
# icon = "nextcloud.svg";
|
||||
# description = "cloud";
|
||||
# href = "https://nextcloud.sako.box";
|
||||
# };
|
||||
# }]
|
||||
[{
|
||||
"Site" = mkIf srv.services.sakosite.enable {
|
||||
}] ++ mkIf srv.services.local.nextcloud.enable [{
|
||||
"Nextcloud" = {
|
||||
icon = "nextcloud.svg";
|
||||
description = "selfhosted cloud";
|
||||
href = "https://nextcloud.sako.box";
|
||||
};
|
||||
}] ++ mkIf srv.services.sakosite.enable [{
|
||||
"Site" = {
|
||||
icon = "https://sako.lol/icon.png";
|
||||
description = "personal site";
|
||||
href = "https://sako.lol";
|
||||
};
|
||||
}]
|
||||
];
|
||||
}];
|
||||
}];
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue