chore: remove photoprism (for now)

This commit is contained in:
Felix Schröter 2022-05-05 17:49:25 +02:00
parent 7b28a6b220
commit 72a226ea33
Signed by: felschr
GPG key ID: 671E39E6744C807D
3 changed files with 1 additions and 40 deletions

View file

@ -1,24 +0,0 @@
{ pkgs, config, ... }:
{
environment.systemPackages = [ pkgs.photoprism ];
services.nginx = {
enable = true;
virtualHosts."photos.felschr.com" = {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass =
"http://localhost:${toString config.services.photoprism.port}";
proxyWebsockets = true;
extraConfig = ''
client_max_body_size 100M;
proxy_read_timeout 300s;
'';
};
};
};
services.photoprism.enable = true;
}