From 721fdf971938cef4aa19146320c1d73ece1a10de Mon Sep 17 00:00:00 2001 From: Chandler Swift Date: Thu, 19 Jun 2025 23:17:45 -0500 Subject: [PATCH] bert: Install immich --- bert/configuration.nix | 1 + bert/services/http/index.nix | 1 + bert/services/http/photos.chandlerswift.com.nix | 5 +++++ 3 files changed, 7 insertions(+) create mode 100644 bert/services/http/photos.chandlerswift.com.nix diff --git a/bert/configuration.nix b/bert/configuration.nix index 3814822..f4e97b4 100644 --- a/bert/configuration.nix +++ b/bert/configuration.nix @@ -6,6 +6,7 @@ ./hardware-configuration.nix ./services/factorio.nix ./services/http/index.nix + ./services/immich.nix ./services/minecraft.nix ./services/monitoring.nix ./services/forgejo.nix diff --git a/bert/services/http/index.nix b/bert/services/http/index.nix index 577cdf0..22f8782 100644 --- a/bert/services/http/index.nix +++ b/bert/services/http/index.nix @@ -13,6 +13,7 @@ ./maps.chandlerswift.com.nix ./music.chandlerswift.com.nix ./nau-sidewalks.chandlerswift.com.nix + ./photos.chandlerswift.com.nix ./preview.chandlerswift.com.nix ./sharontrahan.com.nix ./social.chandlerswift.com.nix diff --git a/bert/services/http/photos.chandlerswift.com.nix b/bert/services/http/photos.chandlerswift.com.nix new file mode 100644 index 0000000..beb78df --- /dev/null +++ b/bert/services/http/photos.chandlerswift.com.nix @@ -0,0 +1,5 @@ +{config, ...}: { + services.caddy.virtualHosts."photos.chandlerswift.com".extraConfig = '' + reverse_proxy localhost:${toString config.services.immich.port} + ''; +}