Files
nixos-dotfiles/config/hosts/imxyy-nix-server/immich.nix

19 lines
360 B
Nix

{ ... }:
{
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}
}
'';
};
};
}