This commit is contained in:
soraefir
2026-05-30 23:37:55 +02:00
parent a3c14208c3
commit 94a8aac8a6

View File

@@ -15,18 +15,18 @@ let
# }; # };
}; };
services = pkgs.writers.writeYAML "services.yaml" {[ services = pkgs.writers.writeYAML "services.yaml" [
{Media = [{ {Media = [
} // lib.optionalAttrs (serverCfg.containers?jellyfin) { {} // lib.optionalAttrs (serverCfg.containers?jellyfin) {
"Jellyfin"={ Jellyfin={
icon = "jellyfin.png"; icon = "jellyfin.png";
href = "https://${serverCfg.containers.jellyfin.subdomain}.${serverCfg.domain}"; href = "https://${serverCfg.containers.jellyfin.subdomain}.${serverCfg.domain}";
}; };
} }
];} ];}
{Dev = [{ {Dev = [
} // lib.optionalAttrs (serverCfg.containers?gitea) { {} // lib.optionalAttrs (serverCfg.containers?gitea) {
"Gitea"={ Gitea={
icon = "gitea.png"; icon = "gitea.png";
href = "https://${serverCfg.containers.gitea.subdomain}.${serverCfg.domain}"; href = "https://${serverCfg.containers.gitea.subdomain}.${serverCfg.domain}";
}; };
@@ -37,7 +37,7 @@ let
# icon = "nextcloud.png"; # icon = "nextcloud.png";
# href = "https://${serverCfg.containers.nextcloud.subdomain}.${serverCfg.domain}"; # href = "https://${serverCfg.containers.nextcloud.subdomain}.${serverCfg.domain}";
# }] else []); # }] else []);
]}; ];
in { in {
sops = false; sops = false;
db = false; db = false;