Constantin Gierczak--Galle
1b8dc4d78a
Reviewed-on: #10 Co-authored-by: Constantin Gierczak--Galle <git.cst1@mailbox.org> Co-committed-by: Constantin Gierczak--Galle <git.cst1@mailbox.org>
16 lines
366 B
Nix
16 lines
366 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.lab.dgnum.eu" = {
|
|
enableACME = true;
|
|
forceSSL = true;
|
|
serverAliases = [ ];
|
|
locations."/".proxyPass = "http://localhost:3001/";
|
|
};
|
|
}
|