nix-config/modules/immich/default.nix

19 lines
376 B
Nix
Raw Permalink Normal View History

{ pkgs, ... }:
2024-11-10 17:54:08 -05:00
{
2024-11-12 18:30:19 -05:00
services.immich = {
enable = true;
package = pkgs.immich;
2024-11-12 18:30:19 -05:00
host = "localhost";
port = 2283;
mediaLocation = "/lagoon/media/immich";
environment = {
IMMICH_LOG_LEVEL = "log";
2024-11-10 17:54:08 -05:00
};
};
services.caddy.virtualHosts."photographs.tdback.net".extraConfig = ''
encode zstd gzip
reverse_proxy http://localhost:2283
'';
}