{ inputs, pkgs, ... }: { disabledModules = [ "services/databases/redis.nix" ]; imports = [ "${inputs.nixpkgs-unstable}/nixos/modules/services/web-apps/immich.nix" "${inputs.nixpkgs-unstable}/nixos/modules/services/databases/redis.nix" ]; services.immich = { enable = true; package = pkgs.unstable.immich; host = "localhost"; port = 2283; mediaLocation = "/lagoon/media/immich"; environment = { IMMICH_LOG_LEVEL = "log"; }; }; services.postgresql.package = pkgs.unstable.postgresql; services.caddy.virtualHosts."photographs.tdback.net".extraConfig = '' encode zstd gzip reverse_proxy http://localhost:2283 ''; }