17 lines
345 B
Nix
17 lines
345 B
Nix
{ lib, modulesPath, ... }:
|
|
|
|
{
|
|
services.immich = {
|
|
enable = true;
|
|
# default port: 3001
|
|
machine-learning.enable = true;
|
|
host = "localhost";
|
|
};
|
|
|
|
services.nginx.virtualHosts."immich.cgiga.fr" = {
|
|
enableACME = true;
|
|
forceSSL = true;
|
|
serverAliases = [];
|
|
locations."/".proxyPass = "http://localhost:2283/";
|
|
};
|
|
}
|