diff --git a/machines/photo01/photoprism.nix b/machines/photo01/photoprism.nix index 661a913..7464a49 100644 --- a/machines/photo01/photoprism.nix +++ b/machines/photo01/photoprism.nix @@ -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; }; }; +}; }