photoprism-test-vm/immich.nix

18 lines
345 B
Nix
Raw Permalink Normal View History

{ lib, modulesPath, ... }:
{
services.immich = {
enable = true;
# default port: 3001
machine-learning.enable = true;
host = "localhost";
};
2024-10-14 14:53:27 +02:00
2024-11-03 16:24:07 +01:00
services.nginx.virtualHosts."immich.cgiga.fr" = {
2024-10-14 14:53:27 +02:00
enableACME = true;
forceSSL = true;
serverAliases = [];
2024-11-06 09:21:04 +01:00
locations."/".proxyPass = "http://localhost:2283/";
2024-10-14 14:53:27 +02:00
};
}