feat(photo01): init #4
1 changed files with 4 additions and 2 deletions
|
@ -4,7 +4,8 @@ let
|
|||
port = 2342;
|
||||
in
|
||||
{
|
||||
services.photoprism = {
|
||||
services = {
|
||||
photoprism = {
|
||||
enable = true;
|
||||
port = port;
|
||||
settings = {
|
||||
|
@ -28,7 +29,7 @@ in
|
|||
passwordFile = "/passwords/photoprism";
|
||||
};
|
||||
|
||||
services.mysql = {
|
||||
mysql = {
|
||||
enable = true;
|
||||
dataDir = "/data/mysql";
|
||||
package = pkgs.mariadb;
|
||||
|
@ -52,4 +53,5 @@ in
|
|||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue