From 266d18f3ee8c3ce6b8fcee9a4ff2925ccd59bee9 Mon Sep 17 00:00:00 2001 From: Emile Date: Tue, 29 Oct 2024 22:46:03 +0100 Subject: immich foo --- nix/hosts/corrino/www/photo/default.nix | 2 +- nix/hosts/corrino/www/photo/immich.nix | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) (limited to 'nix/hosts') 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; -- cgit 1.4.1