mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 23:00:14 +01:00
25 lines
641 B
Nix
25 lines
641 B
Nix
{ config, ... }:
|
|
{
|
|
# services.immich = {
|
|
# enable = true;
|
|
# port = 2283;
|
|
# mediaLocation = "/spinners/rootvol/immich/";
|
|
# openFirewall = true;
|
|
# machine-learning.enable = true;
|
|
# };
|
|
|
|
# services.nginx.virtualHosts."" = {
|
|
# 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;
|
|
# '';
|
|
# };
|
|
# };
|
|
}
|