This commit is contained in:
soraefir
2026-05-30 23:33:23 +02:00
parent 00990b49e4
commit a3c14208c3

View File

@@ -16,16 +16,22 @@ let
};
services = pkgs.writers.writeYAML "services.yaml" {[
[{Media = []
++ (if (serverCfg.containers?jellyfin) then [{"Jellyfin"={
{Media = [{
} // lib.optionalAttrs (serverCfg.containers?jellyfin) {
"Jellyfin"={
icon = "jellyfin.png";
href = "https://${serverCfg.containers.jellyfin.subdomain}.${serverCfg.domain}";
};}] else [])}];
[{Dev = []
++ (if (serverCfg.containers?gitea) then [{"Gitea"={
};
}
];}
{Dev = [{
} // lib.optionalAttrs (serverCfg.containers?gitea) {
"Gitea"={
icon = "gitea.png";
href = "https://${serverCfg.containers.gitea.subdomain}.${serverCfg.domain}";
};}] else [])}];
};
}
];}
# cloud = []
# ++ (if (serverCfg.containers?nextcloud) then [{
# icon = "nextcloud.png";