16 lines
416 B
Nix
16 lines
416 B
Nix
{ lib, config, pkgs, ...}:
|
|
|
|
{
|
|
services.photoprism = {
|
|
enable = true;
|
|
originalsPath = "/var/lib/photoprism/originals";
|
|
passwordFile = "/home/usr/wg-keys/photoprism-password";
|
|
settings = {
|
|
PHOTOPRISM_ADMIN_USER = "usr";
|
|
PHOTOPRISM_SITE_TITLE = "photos.beepboop.systems";
|
|
PHOTOPRISM_SITE_URL = "https://photos.beepboop.systems";
|
|
PHOTOPRISM_DEFAULT_LOCALE = "en";
|
|
};
|
|
};
|
|
}
|