1
0
Fork 0
forked from DGNum/lab-infra
lab-infra/machines/photo01/immich.nix

17 lines
362 B
Nix
Raw Normal View History

{
services.immich = {
enable = true;
# NOTE: default port changes in a later version
port = 3001;
machine-learning.enable = true;
host = "localhost";
};
services.nginx.virtualHosts."immich.cgiga.fr" = {
enableACME = true;
forceSSL = true;
serverAliases = [ ];
locations."/".proxyPass = "http://localhost:3001/";
};
}