fix(immich): Set the correct backup attribute
This commit is contained in:
parent
913944cff3
commit
b067bbc8c0
1 changed files with 54 additions and 52 deletions
|
@ -8,14 +8,15 @@ let
|
||||||
hostName = "immich.${config.services.nginx.domain}";
|
hostName = "immich.${config.services.nginx.domain}";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
services.immich = {
|
services = {
|
||||||
|
immich = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.server.externalDomain = "https://${hostName}";
|
settings.server.externalDomain = "https://${hostName}";
|
||||||
|
|
||||||
environment.IMMICH_TELEMETRY_INCLUDE = "all";
|
environment.IMMICH_TELEMETRY_INCLUDE = "all";
|
||||||
};
|
};
|
||||||
|
|
||||||
services.nginx.virtualHosts.${hostName} =
|
nginx.virtualHosts.${hostName} =
|
||||||
let
|
let
|
||||||
local = "http://${config.services.immich.host}:${toString config.services.immich.port}";
|
local = "http://${config.services.immich.host}:${toString config.services.immich.port}";
|
||||||
in
|
in
|
||||||
|
@ -62,4 +63,5 @@ in
|
||||||
"immich-machine-learning.service"
|
"immich-machine-learning.service"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue