boneheaded photoprism configuration

This commit is contained in:
stupidcomputer 2024-10-27 22:48:02 -05:00
parent 37743be5dd
commit 8478a2f7cc
3 changed files with 21 additions and 0 deletions

View File

@ -4,6 +4,7 @@
imports = [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
./nvidia.nix ./nvidia.nix
./services
../x230t/special-ssh-magic.nix ../x230t/special-ssh-magic.nix
../../modules/ssh-phone-home.nix ../../modules/ssh-phone-home.nix
../../modules/hosts.nix ../../modules/hosts.nix

View File

@ -0,0 +1,7 @@
{ lib, config, pkgs, ...}:
{
imports = [
./photoprism.nix
];
}

View File

@ -0,0 +1,13 @@
{ lib, config, pkgs, ...}:
{
services.photoprism = {
enable = true;
originalsPath = "/var/lib/photoprism/originals";
settings = {
PHOTOPRISM_ADMIN_USER = "usr";
PHOTOPRISM_ADMIN_PASSWORD = "usr";
PHOTOPRISM_SITE_TITLE = "photos.beepboop.systems";
};
};
}