hippocampus: immich: enable

This commit is contained in:
2026-02-15 17:58:56 -05:00
parent f389799652
commit bf4003693a
2 changed files with 16 additions and 0 deletions

View File

@@ -53,5 +53,8 @@
# Matrix services
./public/matrix.nix
# Immich Photo Backups
./public/immich.nix
];
}

View File

@@ -0,0 +1,13 @@
{ config, pkgs, lib, ... }: {
services.immich = {
enable = true;
mediaLocation = "/mass/immich";
};
services.caddy.virtualHosts = {
"photos.crompton.cc" = {
extraConfig = ''
reverse_proxy localhost:${toString config.services.immich.port}
'';
};
};
}