photoprism-test-vm/photoprism.nix

19 lines
395 B
Nix

{ lib, modulesPath, ... }:
{
services.photoprism = {
enable = true;
#default port: 2342
settings = {
PHOTOPRISM_DEFAULT_LOCALE = "fr";
PHOTOPRISM_ADMIN_USERNAME = "admin";
PHOTOPRISM_SITE_CAPTION = "PhotoPrism";
};
# TODO: public web address
address = "photoprism.what?";
# TODO: add admin password file (agenix?)
passwordFile = "";
};
}