photoprism-test-vm/photoprism.nix

21 lines
415 B
Nix
Raw Normal View History

{ lib, modulesPath, ... }:
{
services.photoprism = {
enable = true;
#default port: 2342
settings = {
PHOTOPRISM_DEFAULT_LOCALE = "fr";
PHOTOPRISM_ADMIN_USERNAME = "admin";
PHOTOPRISM_SITE_CAPTION = "PhotoPrism";
};
originalsPath = "/photoprism/photos";
importPath = "/photoprism/imports";
address = "localhost";
passwordFile = "/passwords/photoprism";
};
}