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/immich.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'nix/hosts/corrino/www/photo/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