Add photoprism originalsPath

This commit is contained in:
Jordan Holt 2024-03-31 20:45:16 +01:00
parent 2b021cc0a4
commit 16138921fd
Signed by: jordan
GPG Key ID: B8CFFF61F1CCF520

View File

@ -17,7 +17,7 @@ in {
"gallery.vimium.com" = {
forceSSL = true;
enableACME = true;
locations."/".proxyPass = "http://localhost:${config.services.photoprism.port}";
locations."/".proxyPass = "http://localhost:${toString config.services.photoprism.port}";
};
};
};
@ -30,13 +30,14 @@ in {
enable = true;
address = "localhost";
passwordFile = config.age.secrets."passwords/services/photoprism/admin".path;
originalsPath = "${config.services.photoprism.storagePath}/originals";
settings = {
PHOTOPRISM_APP_NAME = "Vimium Gallery";
PHOTOPRISM_SITE_AUTHOR = "Vimium";
PHOTOPRISM_SITE_TITLE = "Vimium Gallery";
PHOTOPRISM_SITE_CAPTION = "See your photos and videos on gallery.vimium.com";
PHOTOPRISM_DISABLE_TLS = true;
PHOTOPRISM_SPONSOR = true;
PHOTOPRISM_DISABLE_TLS = "true";
PHOTOPRISM_SPONSOR = "true";
};
};
};