add services
This commit is contained in:
@@ -81,6 +81,18 @@ let
|
|||||||
href = "https://${serverCfg.containers.etherpad.subdomain}.${serverCfg.domain}";
|
href = "https://${serverCfg.containers.etherpad.subdomain}.${serverCfg.domain}";
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
(lib.optional (serverCfg.containers?immich) {
|
||||||
|
immich={
|
||||||
|
icon = "immich.png";
|
||||||
|
href = "https://${serverCfg.containers.immich.subdomain}.${serverCfg.domain}";
|
||||||
|
widget = {
|
||||||
|
type="immich";
|
||||||
|
url = "http://immich-server:80";
|
||||||
|
key = "{{HOMEPAGE_VAR_IMMICH_API}}";
|
||||||
|
version = "2";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
})
|
||||||
];}
|
];}
|
||||||
{Dev = lib.flatten [
|
{Dev = lib.flatten [
|
||||||
(lib.optional (serverCfg.containers?gitea) {
|
(lib.optional (serverCfg.containers?gitea) {
|
||||||
@@ -99,7 +111,16 @@ let
|
|||||||
#({permissions.groups = ["admin"];})
|
#({permissions.groups = ["admin"];})
|
||||||
#({services =
|
#({services =
|
||||||
lib.flatten [
|
lib.flatten [
|
||||||
|
(lib.optional (serverCfg.containers?traefik) {
|
||||||
|
Traefik={
|
||||||
|
icon = "traefik.png";
|
||||||
|
href = "https://${serverCfg.containers.traefik.subdomain}.${serverCfg.domain}";
|
||||||
|
widget = {
|
||||||
|
type = "traefik";
|
||||||
|
url = "http://traefik-server:8080";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
})
|
||||||
(lib.optional (serverCfg.containers?authentik) {
|
(lib.optional (serverCfg.containers?authentik) {
|
||||||
Authentik={
|
Authentik={
|
||||||
icon = "authentik.png";
|
icon = "authentik.png";
|
||||||
@@ -112,6 +133,12 @@ let
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
(lib.optional (serverCfg.containers?umami) {
|
||||||
|
Umami={
|
||||||
|
icon = "umami.png";
|
||||||
|
href = "https://${serverCfg.containers.umami.subdomain}.${serverCfg.domain}";
|
||||||
|
};
|
||||||
|
})
|
||||||
(lib.optional (serverCfg.containers?influx) {
|
(lib.optional (serverCfg.containers?influx) {
|
||||||
Influx={
|
Influx={
|
||||||
icon = "influx.png";
|
icon = "influx.png";
|
||||||
@@ -184,6 +211,8 @@ let
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
# Bazarr
|
||||||
|
|
||||||
))
|
))
|
||||||
];}#)];}
|
];}#)];}
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user