vno1-oh2: try photoprism

This commit is contained in:
Motiejus Jakštys 2023-12-27 23:41:00 +02:00
parent f13e6893a4
commit 105c211406

View File

@ -1,5 +1,6 @@
{
config,
lib,
pkgs,
myData,
...
@ -359,6 +360,11 @@
};
};
photoprism = {
enable = true;
originalsPath = "/home/motiejus/Pictures";
};
logrotate = {
settings = {
"/var/log/caddy/access-jakstys.lt.log" = {
@ -641,6 +647,11 @@
BindReadOnlyPaths = ["/home/motiejus/video"];
};
};
photoprism.serviceConfig = {
ProtectHome = lib.mkForce "tmpfs";
BindReadOnlyPaths = ["/home/motiejus/Pictures"];
};
};
systemd.paths = {