2024-10-09 00:04:46 +02:00
|
|
|
{ lib, modulesPath, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
services.immich = {
|
|
|
|
enable = true;
|
|
|
|
# default port: 3001
|
|
|
|
machine-learning.enable = true;
|
|
|
|
host = "localhost";
|
|
|
|
};
|
2024-10-14 14:53:27 +02:00
|
|
|
|
|
|
|
services.nginx.virtualHosts."immich.rz01.infra.dgnum.eu" = {
|
|
|
|
enableACME = true;
|
|
|
|
forceSSL = true;
|
|
|
|
serverAliases = [];
|
|
|
|
locations."/".proxyPass = "http://localhost:3001/";
|
|
|
|
};
|
2024-10-09 00:04:46 +02:00
|
|
|
}
|