fix
This commit is contained in:
@@ -16,16 +16,22 @@ let
|
|||||||
};
|
};
|
||||||
|
|
||||||
services = pkgs.writers.writeYAML "services.yaml" {[
|
services = pkgs.writers.writeYAML "services.yaml" {[
|
||||||
[{Media = []
|
{Media = [{
|
||||||
++ (if (serverCfg.containers?jellyfin) then [{"Jellyfin"={
|
} // lib.optionalAttrs (serverCfg.containers?jellyfin) {
|
||||||
icon = "jellyfin.png";
|
"Jellyfin"={
|
||||||
href = "https://${serverCfg.containers.jellyfin.subdomain}.${serverCfg.domain}";
|
icon = "jellyfin.png";
|
||||||
};}] else [])}];
|
href = "https://${serverCfg.containers.jellyfin.subdomain}.${serverCfg.domain}";
|
||||||
[{Dev = []
|
};
|
||||||
++ (if (serverCfg.containers?gitea) then [{"Gitea"={
|
}
|
||||||
icon = "gitea.png";
|
];}
|
||||||
href = "https://${serverCfg.containers.gitea.subdomain}.${serverCfg.domain}";
|
{Dev = [{
|
||||||
};}] else [])}];
|
} // lib.optionalAttrs (serverCfg.containers?gitea) {
|
||||||
|
"Gitea"={
|
||||||
|
icon = "gitea.png";
|
||||||
|
href = "https://${serverCfg.containers.gitea.subdomain}.${serverCfg.domain}";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
];}
|
||||||
# cloud = []
|
# cloud = []
|
||||||
# ++ (if (serverCfg.containers?nextcloud) then [{
|
# ++ (if (serverCfg.containers?nextcloud) then [{
|
||||||
# icon = "nextcloud.png";
|
# icon = "nextcloud.png";
|
||||||
|
|||||||
Reference in New Issue
Block a user