nix-config/modules/immich/default.nix

19 lines
380 B
Nix
Raw 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
};
};
2024-11-26 21:50:17 -05:00
services.caddy.virtualHosts."photographs.brownbread.net".extraConfig = ''
2024-11-10 17:54:08 -05:00
encode zstd gzip
reverse_proxy http://localhost:2283
'';
}