{ 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"; }; }