diff options
author | Emile <git@emile.space> | 2024-10-29 22:46:03 +0100 |
---|---|---|
committer | Emile <git@emile.space> | 2024-10-29 22:46:03 +0100 |
commit | 266d18f3ee8c3ce6b8fcee9a4ff2925ccd59bee9 (patch) | |
tree | 85cb78ba6868d9e742fb77bbe389e5b6193e35fe /nix/hosts/corrino/www/photo | |
parent | 0f351b486e5d5c843b168af2e7e0605fd8a1fd61 (diff) |
immich foo
Diffstat (limited to 'nix/hosts/corrino/www/photo')
-rw-r--r-- | nix/hosts/corrino/www/photo/default.nix | 2 | ||||
-rw-r--r-- | nix/hosts/corrino/www/photo/immich.nix | 9 |
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; |