Compare commits
No commits in common. "3fefd5b0727ed434c80d704903720f117f74e53e" and "7748c67e4563164e413491fc2f3c0e1eed10b96f" have entirely different histories.
3fefd5b072
...
7748c67e45
|
@ -17,6 +17,5 @@ with lib; {
|
|||
./syncthing.nix
|
||||
./shiori.nix
|
||||
./calibre-web.nix
|
||||
./immich.nix
|
||||
];
|
||||
}
|
||||
|
|
|
@ -1,33 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib; {
|
||||
services = {
|
||||
nginx = {
|
||||
virtualHosts."photos.posixlycorrect.com" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
extraConfig = ''
|
||||
proxy_headers_hash_max_size 512;
|
||||
proxy_headers_hash_bucket_size 128;
|
||||
'';
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:2283";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
immich = {
|
||||
enable = true;
|
||||
secretsFile = "/var/trust/immich/secrets.txt";
|
||||
openFirewall = true;
|
||||
mediaLocation = "/mnt/export2178/immich/media";
|
||||
machine-learning.enable = false;
|
||||
environment = {
|
||||
IMMICH_TELEMETRY_EXCLUDE = "host,api,io,repo,job";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue