about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--nix/hosts/corrino/www/photo/default.nix2
-rw-r--r--nix/hosts/corrino/www/photo/immich.nix9
2 files changed, 9 insertions, 2 deletions
diff --git a/nix/hosts/corrino/www/photo/default.nix b/nix/hosts/corrino/www/photo/default.nix
index 9d7d4f5..a5bb496 100644
--- a/nix/hosts/corrino/www/photo/default.nix
+++ b/nix/hosts/corrino/www/photo/default.nix
@@ -3,6 +3,6 @@
 {
   imports = [
     # ./photoprism.nix
-    ./immich.nix
+    # ./immich.nix
   ];
 }
diff --git a/nix/hosts/corrino/www/photo/immich.nix b/nix/hosts/corrino/www/photo/immich.nix
index b251b7a..37eadad 100644
--- a/nix/hosts/corrino/www/photo/immich.nix
+++ b/nix/hosts/corrino/www/photo/immich.nix
@@ -1,6 +1,12 @@
-{ config, ... }:
+{ config, pkgs, ... } @ args:
 
 {
+  imports = [
+    "${args.inputs.nixpkgs-master}/nixos/modules/services/web-apps/immich.nix"
+  ];
+
+  disabledModules = [ "services/web-apps/immich.nix" ];
+
   services.nginx.virtualHosts."photo.emile.space" = {
     forceSSL = true;
     enableACME = true;
@@ -13,6 +19,7 @@
 
 	services.immich = {
 		enable = true;
+    package = pkgs.unstable.immich;
 		mediaLocation = "/var/lib/immich";
     secretsFile = config.age.secrets.immich_secrets_file.path;