]> git.immae.eu Git - perso/Immae/Config/Nix.git/blobdiff - modules/private/websites/tools/cloud/default.nix
Add missing backup for videos
[perso/Immae/Config/Nix.git] / modules / private / websites / tools / cloud / default.nix
index 99add805da548664819b7e1a1b2939f2635be42a..3aabde8b2902a9aee1cf2bb3fa486d8ebaa1e608 100644 (file)
@@ -48,6 +48,7 @@ in {
   };
 
   config = lib.mkIf cfg.enable {
+    # FIXME: find a way to backup the data
     services.websites.env.tools.modules = [ "proxy_fcgi" ];
 
     services.websites.env.tools.vhostConfs.cloud = {
@@ -182,7 +183,7 @@ in {
           #! ${pkgs.stdenv.shell}
           export LOCALE_ARCHIVE=/run/current-system/sw/lib/locale/locale-archive
           export PATH=/run/wrappers/bin:$PATH
-          ${pkgs.php}/bin/php -f ${nextcloud}/cron.php
+          ${pkgs.php}/bin/php -d memory_limit=512M -f ${nextcloud}/cron.php
           '';
       in [
         ''