boneheaded photoprism configuration
This commit is contained in:
parent
37743be5dd
commit
8478a2f7cc
|
@ -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
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
{ lib, config, pkgs, ...}:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./photoprism.nix
|
||||||
|
];
|
||||||
|
}
|
|
@ -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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue