feat: adds immich configuration to services

This commit is contained in:
Ahwx 2025-03-23 00:05:36 +01:00
parent 23670bf1db
commit df1ba52d7d

View file

@ -0,0 +1,23 @@
{ config, ... }: {
services.immich = {
enable = true;
port = 2283;
accelerationDevices = /dev/dri/card0;
};
# services.nginx.virtualHosts."" = {
# enableACME = true;
# forceSSL = true;
# locations."/" = {
# proxyPass = "http://localhost:${toString config.services.immich.port}";
# proxyWebsockets = true;
# recommendedProxySettings = true;
# extraConfig = ''
# client_max_body_size 50000M;
# proxy_read_timeout 600s;
# proxy_send_timeout 600s;
# send_timeout 600s;
# '';
# };
# };
}