feat(imxyy-nix-server): immich

This commit is contained in:
2025-07-11 18:30:02 +08:00
parent 99e5362345
commit bd192f0443
2 changed files with 19 additions and 0 deletions

View File

@@ -22,5 +22,6 @@
./matrix.nix
./minio.nix
./build.nix
./immich.nix
];
}

View File

@@ -0,0 +1,18 @@
{ ... }:
{
services.immich = {
enable = true;
host = "127.0.0.1";
port = 8096;
user = "nas";
group = "nextcloud";
mediaLocation = "/mnt/nas/share";
services.caddy.virtualHosts."immich.imxyy.top" = {
extraConfig = ''
reverse_proxy :8096 {
header_up X-Real-IP {remote_host}
}
'';
};
};
}