18 lines
380 B
Nix
18 lines
380 B
Nix
{ pkgs, ... }:
|
|
{
|
|
services.immich = {
|
|
enable = true;
|
|
package = pkgs.immich;
|
|
host = "localhost";
|
|
port = 2283;
|
|
mediaLocation = "/lagoon/media/immich";
|
|
environment = {
|
|
IMMICH_LOG_LEVEL = "log";
|
|
};
|
|
};
|
|
|
|
services.caddy.virtualHosts."photographs.brownbread.net".extraConfig = ''
|
|
encode zstd gzip
|
|
reverse_proxy http://localhost:2283
|
|
'';
|
|
}
|