fix
This commit is contained in:
@@ -21,6 +21,11 @@ let
|
|||||||
Jellyfin={
|
Jellyfin={
|
||||||
icon = "jellyfin.png";
|
icon = "jellyfin.png";
|
||||||
href = "https://${serverCfg.containers.jellyfin.subdomain}.${serverCfg.domain}";
|
href = "https://${serverCfg.containers.jellyfin.subdomain}.${serverCfg.domain}";
|
||||||
|
widget = {
|
||||||
|
type="jellyfin";
|
||||||
|
url = "http://jellyfin-server:8096";
|
||||||
|
key = "ca5bfeeb416d4ea9b0f45f2d6b1b5999";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
(lib.optional (serverCfg.containers?invidious) {
|
(lib.optional (serverCfg.containers?invidious) {
|
||||||
@@ -29,6 +34,30 @@ let
|
|||||||
href = "https://${serverCfg.containers.invidious.subdomain}.${serverCfg.domain}";
|
href = "https://${serverCfg.containers.invidious.subdomain}.${serverCfg.domain}";
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
(lib.optional (serverCfg.containers?miniflux) {
|
||||||
|
RSS={
|
||||||
|
icon = "miniflux.png";
|
||||||
|
href = "https://${serverCfg.containers.miniflux.subdomain}.${serverCfg.domain}";
|
||||||
|
};
|
||||||
|
})
|
||||||
|
];}
|
||||||
|
{Cloud = lib.flatten [
|
||||||
|
(lib.optional (serverCfg.containers?nextcloud) {
|
||||||
|
Nextcloud={
|
||||||
|
icon = "nextcloud.png";
|
||||||
|
href = "https://${serverCfg.containers.nextcloud.subdomain}.${serverCfg.domain}";
|
||||||
|
widget = {
|
||||||
|
type="nextcloud";
|
||||||
|
url = "http://nextcloud-server";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
})
|
||||||
|
(lib.optional (serverCfg.containers?etherpad) {
|
||||||
|
Etherpad={
|
||||||
|
icon = "etherpad.png";
|
||||||
|
href = "https://${serverCfg.containers.etherpad.subdomain}.${serverCfg.domain}";
|
||||||
|
};
|
||||||
|
})
|
||||||
];}
|
];}
|
||||||
{Dev = lib.flatten [
|
{Dev = lib.flatten [
|
||||||
(lib.optional (serverCfg.containers?gitea) {
|
(lib.optional (serverCfg.containers?gitea) {
|
||||||
@@ -38,11 +67,20 @@ let
|
|||||||
};
|
};
|
||||||
})
|
})
|
||||||
];}
|
];}
|
||||||
# cloud = []
|
{Admin = lib.flatten [
|
||||||
# ++ (if (serverCfg.containers?nextcloud) then [{
|
(lib.optional (serverCfg.containers?authentik) {
|
||||||
# icon = "nextcloud.png";
|
Authentik={
|
||||||
# href = "https://${serverCfg.containers.nextcloud.subdomain}.${serverCfg.domain}";
|
icon = "authentik.png";
|
||||||
# }] else []);
|
href = "https://${serverCfg.containers.authentik.subdomain}.${serverCfg.domain}";
|
||||||
|
};
|
||||||
|
})
|
||||||
|
(lib.optional (serverCfg.containers?influx) {
|
||||||
|
Influx={
|
||||||
|
icon = "influx.png";
|
||||||
|
href = "https://${serverCfg.containers.influx.subdomain}.${serverCfg.domain}";
|
||||||
|
};
|
||||||
|
})
|
||||||
|
];}
|
||||||
];
|
];
|
||||||
in {
|
in {
|
||||||
sops = false;
|
sops = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user