forked from DGNum/lab-infra
Constantin Gierczak--Galle
68b5f86bd5
Reviewed-on: DGNum/lab-infra#4 Co-authored-by: Constantin Gierczak--Galle <git.cst1@mailbox.org> Co-committed-by: Constantin Gierczak--Galle <git.cst1@mailbox.org>
16 lines
362 B
Nix
16 lines
362 B
Nix
{
|
|
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/";
|
|
};
|
|
}
|