feat(photo01): init #4

Merged
cst1 merged 19 commits from cst1/lab-infra:init_photo01 into main 2024-11-22 14:04:37 +01:00
Showing only changes of commit abf9f2d2f5 - Show all commits

View file

@ -4,7 +4,8 @@ let
port = 2342; port = 2342;
in in
{ {
services.photoprism = { services = {
photoprism = {
enable = true; enable = true;
port = port; port = port;
settings = { settings = {
@ -28,7 +29,7 @@ in
passwordFile = "/passwords/photoprism"; passwordFile = "/passwords/photoprism";
}; };
services.mysql = { mysql = {
enable = true; enable = true;
dataDir = "/data/mysql"; dataDir = "/data/mysql";
package = pkgs.mariadb; package = pkgs.mariadb;
@ -52,4 +53,5 @@ in
proxyWebsockets = true; proxyWebsockets = true;
}; };
}; };
};
} }