2024-10-09 00:04:46 +02:00
|
|
|
{ lib, modulesPath, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
services.photoprism = {
|
|
|
|
enable = true;
|
|
|
|
#default port: 2342
|
|
|
|
settings = {
|
|
|
|
PHOTOPRISM_DEFAULT_LOCALE = "fr";
|
|
|
|
PHOTOPRISM_ADMIN_USERNAME = "admin";
|
|
|
|
PHOTOPRISM_SITE_CAPTION = "PhotoPrism";
|
|
|
|
};
|
|
|
|
|
2024-10-09 17:06:24 +02:00
|
|
|
originalsPath = "/photoprism/photos";
|
|
|
|
importPath = "/photoprism/imports";
|
2024-10-09 00:04:46 +02:00
|
|
|
|
2024-10-09 17:06:24 +02:00
|
|
|
address = "localhost";
|
|
|
|
|
|
|
|
passwordFile = "/passwords/photoprism";
|
2024-10-09 00:04:46 +02:00
|
|
|
};
|
|
|
|
}
|