From c4b4cff25ae214c951aa60ebab312ba8f2322a37 Mon Sep 17 00:00:00 2001 From: tdback Date: Mon, 18 Nov 2024 18:24:32 -0500 Subject: [PATCH] use stable version of immich in 24.11 package set --- modules/immich/default.nix | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/modules/immich/default.nix b/modules/immich/default.nix index 29767dc..f3f3ad6 100644 --- a/modules/immich/default.nix +++ b/modules/immich/default.nix @@ -1,14 +1,8 @@ -{ inputs, pkgs, ... }: +{ 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; + package = pkgs.immich; host = "localhost"; port = 2283; mediaLocation = "/lagoon/media/immich"; @@ -17,8 +11,6 @@ }; }; - services.postgresql.package = pkgs.unstable.postgresql; - services.caddy.virtualHosts."photographs.tdback.net".extraConfig = '' encode zstd gzip reverse_proxy http://localhost:2283