work on photoprism
This commit is contained in:
parent
2054063043
commit
e1b672bf82
|
@ -72,19 +72,27 @@ in {
|
|||
|
||||
services.photoprism = {
|
||||
enable = true;
|
||||
originalsPath = "/Photos";
|
||||
originalsPath = "/Photos/originals";
|
||||
settings = {
|
||||
PHOTOPRISM_SITE_URL = "https://photoprism.owo.monster";
|
||||
PHOTOPRISM_DISABLE_PLACES = "true";
|
||||
PHOTOPRISM_SITE_TITLE = "PhotoPrism";
|
||||
|
||||
PHOTOPRISM_SIDECAR_PATH = "/Photos/sidecar";
|
||||
|
||||
PHOTOPRISM_DISABLE_TENSORFLOW = "true";
|
||||
PHOTOPRISM_DISABLE_PLACES = "true";
|
||||
PHOTOPRISM_DETECT_NSFW = "false";
|
||||
PHOTOPRISM_UPLOAD_NSFW = "true";
|
||||
PHOTOPRISM_DISABLE_FACES = "true";
|
||||
PHOTOPRISM_DISABLE_CLASSIFICATION = "true";
|
||||
PHOTOPRISM_SITE_TITLE = "PhotoPrism";
|
||||
};
|
||||
};
|
||||
|
||||
systemd.services.photoprism.serviceConfig = {
|
||||
DynamicUser = false;
|
||||
ReadWritePaths = [ "/Photos" ];
|
||||
};
|
||||
|
||||
services.nginx.virtualHosts."photoprism.owo.monster" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
|
|
Loading…
Reference in a new issue